@Test public void tempHashMap(){ ConcurrentMap<Long,String> m = DBMaker.newTempHashMap(); m.put(111L,"wfjie"); assertTrue(m.getClass().getName().contains("HTreeMap")); }
public static <K,V> HTreeMap<K,V> newTempHashMap(){ return newTempFileDB() .deleteFilesAfterClose() .closeOnJvmShutdown() .journalDisable() .make() .getHashMap("temp"); }
DBMaker { public static <K,V> HTreeMap<K,V> newTempHashMap(){ return newTempFileDB() .deleteFilesAfterClose() .closeOnJvmShutdown() .journalDisable() .make() .getHashMap("temp"); } }
DBMaker { public static <K,V> HTreeMap<K,V> newTempHashMap(){ return newTempFileDB() .deleteFilesAfterClose() .closeOnJvmShutdown() .journalDisable() .make() .getHashMap("temp"); } protected  DBMaker(); }
DBMaker { public static <K,V> HTreeMap<K,V> newTempHashMap(){ return newTempFileDB() .deleteFilesAfterClose() .closeOnJvmShutdown() .journalDisable() .make() .getHashMap("temp"); } protected  DBMaker(); static DBMaker newMemoryDB(); static DBMaker newDirectMemoryDB(); static DBMaker newAppendFileDB(File file); static BTreeMap<K,V> newTempTreeMap(); static HTreeMap<K,V> newTempHashMap(); static NavigableSet<K> newTempTreeSet(); static Set<K> newTempHashSet(); static DBMaker newTempFileDB(); static DBMaker newFileDB(File file); DBMaker journalDisable(); DBMaker cacheDisable(); DBMaker cacheHardRefEnable(); DBMaker cacheWeakRefEnable(); DBMaker cacheSoftRefEnable(); DBMaker cacheLRUEnable(); DBMaker randomAccessFileEnable(); DBMaker randomAccessFileEnableIfNeeded(); DBMaker cacheSize(int cacheSize); DBMaker asyncWriteDisable(); DBMaker asyncFlushDelay(int delay); DBMaker deleteFilesAfterClose(); DBMaker closeOnJvmShutdown(); DBMaker compressionEnable(); DBMaker encryptionEnable(String password); DBMaker encryptionEnable(byte[] password); DBMaker checksumEnable(); DBMaker readOnly(); DBMaker freeSpaceReclaimDisable(); DBMaker powerSavingModeEnable(); DB make(); TxMaker makeTxMaker(); Engine makeEngine(); }
DBMaker { public static <K,V> HTreeMap<K,V> newTempHashMap(){ return newTempFileDB() .deleteFilesAfterClose() .closeOnJvmShutdown() .journalDisable() .make() .getHashMap("temp"); } protected  DBMaker(); static DBMaker newMemoryDB(); static DBMaker newDirectMemoryDB(); static DBMaker newAppendFileDB(File file); static BTreeMap<K,V> newTempTreeMap(); static HTreeMap<K,V> newTempHashMap(); static NavigableSet<K> newTempTreeSet(); static Set<K> newTempHashSet(); static DBMaker newTempFileDB(); static DBMaker newFileDB(File file); DBMaker journalDisable(); DBMaker cacheDisable(); DBMaker cacheHardRefEnable(); DBMaker cacheWeakRefEnable(); DBMaker cacheSoftRefEnable(); DBMaker cacheLRUEnable(); DBMaker randomAccessFileEnable(); DBMaker randomAccessFileEnableIfNeeded(); DBMaker cacheSize(int cacheSize); DBMaker asyncWriteDisable(); DBMaker asyncFlushDelay(int delay); DBMaker deleteFilesAfterClose(); DBMaker closeOnJvmShutdown(); DBMaker compressionEnable(); DBMaker encryptionEnable(String password); DBMaker encryptionEnable(byte[] password); DBMaker checksumEnable(); DBMaker readOnly(); DBMaker freeSpaceReclaimDisable(); DBMaker powerSavingModeEnable(); DB make(); TxMaker makeTxMaker(); Engine makeEngine();  }