@Test public void testYangDefaults() { final DatastoreContextIntrospector introspector = INTROSPECTOR_FACTORY.newInstance( DatastoreContext.newBuilder().shardBatchedModificationCount(2) .transactionDebugContextEnabled(true).build()); DatastoreContext context = introspector.getContext(); assertEquals(1000, context.getShardBatchedModificationCount()); assertFalse(context.isTransactionDebugContextEnabled()); }
public synchronized DatastoreContext getContext() { return context; }
DatastoreContextIntrospector { public synchronized DatastoreContext getContext() { return context; } }
DatastoreContextIntrospector { public synchronized DatastoreContext getContext() { return context; } DatastoreContextIntrospector(final DatastoreContext context,
            final DataStorePropertiesContainer defaultPropsContainer); }
DatastoreContextIntrospector { public synchronized DatastoreContext getContext() { return context; } DatastoreContextIntrospector(final DatastoreContext context,
            final DataStorePropertiesContainer defaultPropsContainer); synchronized DatastoreContext getContext(); DatastoreContextFactory newContextFactory(); synchronized DatastoreContext getShardDatastoreContext(final String forShardName); synchronized boolean update(final Map<String, Object> properties); }
DatastoreContextIntrospector { public synchronized DatastoreContext getContext() { return context; } DatastoreContextIntrospector(final DatastoreContext context,
            final DataStorePropertiesContainer defaultPropsContainer); synchronized DatastoreContext getContext(); DatastoreContextFactory newContextFactory(); synchronized DatastoreContext getShardDatastoreContext(final String forShardName); synchronized boolean update(final Map<String, Object> properties);  }