public OhmDBImpl() { super(new DefaultLinkMatcher()); dbRef = new WeakReference<Db>(this); this.store = new NoDataStore(this); addShutdownHook(); }
public OhmDBImpl() { super(new DefaultLinkMatcher()); dbRef = new WeakReference<Db>(this); this.store = new NoDataStore(this); addShutdownHook(); }
public OhmDBImpl() { super(new DefaultLinkMatcher()); dbRef = new WeakReference<Db>(this); this.store = new NoDataStore(this); addShutdownHook(); }
public OhmDBImpl(String filename) { super(new DefaultLinkMatcher()); dbRef = new WeakReference<Db>(this); DataLoader loader = new DataLoader(); this.store = new FileStore(filename, loader, VALUE_CODEC, stats, false, dbRef); LoadedData data = loader.getData(); data.fillData(this); addShutdownHook(); }
public OhmDBImpl(String filename) { super(new DefaultLinkMatcher()); dbRef = new WeakReference<Db>(this); DataLoader loader = new DataLoader(); this.store = new FileStore(filename, loader, VALUE_CODEC, stats, false, dbRef); LoadedData data = loader.getData(); data.fillData(this); addShutdownHook(); }
public OhmDBImpl(String filename) { super(new DefaultLinkMatcher()); dbRef = new WeakReference<Db>(this); DataLoader loader = new DataLoader(); this.store = new FileStore(filename, loader, VALUE_CODEC, stats, false, dbRef); LoadedData data = loader.getData(); data.fillData(this); addShutdownHook(); }