這裏以後是我的對象的定義: public class Tuple_comparable implements Serializable, Comparable<Tuple_comparable> {
public String arg1_surface;
public String arg1_type;
public boolean arg1_type_equals
我把「localDb.commit();」在每個「localDb.compact();」之前「但仍然得到異常: Exception in thread "Thread-0" java.lang.IllegalAccessError: WAL not empty; commit first, than compact at org.mapdb.StoreWAL.compactPreUnderLock
我已經實現了一個hazelcast服務,它通過MapStoreFactory和newMapLoader將其數據存儲到本地mapdb實例中。這樣的鍵就可以,如果集羣需要重新啓動時加載: public class HCMapStore<V> implements MapStore<String, V> {
Map<String, V> map;
/** specify the mapdb e.