private Configuration baseConfig(boolean useLogFile) { Config4Impl config = (Config4Impl) Db4o.newConfiguration(); config.objectClass(CrashData.class).objectField("_name").indexed(true); config.reflectWith(Platform4.reflectorForType(CrashSimulatingTestCase.class)); config.bTreeNodeSize(4); config.lockDatabaseFile(false); config.fileBasedTransactionLog(useLogFile); ID_SYSTEM.value().configure(config); FREESPACE_MANAGER.value().configure(config); return config; }
protected long maximumDatabaseFileSize(Config4Impl configImpl) { return configImpl.maximumDatabaseFileSize(); }
public void captureQueryResultConfig() { final Config4Impl config = _trans.container().config(); _evaluationMode = config.evaluationMode(); _prefetchDepth = config.prefetchDepth(); _prefetchCount = config.prefetchObjectCount(); }