K
- key type for map data store.V
- value type for map data store.public abstract class AbstractMapDataStore<K,V> extends Object implements MapDataStore<K,V>
Modifier | Constructor and Description |
---|---|
protected |
AbstractMapDataStore(MapStoreWrapper store,
SerializationService serializationService) |
Modifier and Type | Method and Description |
---|---|
protected List<Object> |
convertToObjectKeys(Collection keys) |
MapStoreWrapper |
getStore() |
Map |
loadAll(Collection keys) |
void |
removeAll(Collection keys)
Directly removes keys from map store as in write-through mode.
|
protected Data |
toData(Object obj) |
protected Object |
toObject(Object obj) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, addBackup, addTransient, flush, flush, load, loadable, notFinishedOperationsCount, remove, removeBackup, reset
protected AbstractMapDataStore(MapStoreWrapper store, SerializationService serializationService)
public Map loadAll(Collection keys)
loadAll
in interface MapDataStore<K,V>
public void removeAll(Collection keys)
removeAll
in interface MapDataStore<K,V>
keys
- to be removed.public MapStoreWrapper getStore()
protected List<Object> convertToObjectKeys(Collection keys)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.