use of org.mapdb.DB.HashMapMaker in project invesdwin-context-persistence by subes.
the class ADelegateMapDB method newDelegate.
protected ConcurrentMap<K, V> newDelegate() {
final Maker fileDB = createDB();
final DB db = configureDB(fileDB).make();
final HashMapMaker<K, V> maker = db.hashMap(name, newKeySerializier(), newValueSerializer());
return configureHashMap(maker).createOrOpen();
}
Aggregations