| Constructor and Description |
|---|
MapStoreWrapper(Object impl,
HazelcastInstance hazelcastInstance,
Properties properties,
String mapName,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Object key)
Deletes the entry with a given key from the store.
|
void |
deleteAll(Collection keys)
Deletes multiple entries from the store.
|
void |
destroy() |
boolean |
isEnabled() |
boolean |
isMapLoader() |
boolean |
isMapStore() |
Object |
load(Object key)
Loads the value of a given key.
|
Map |
loadAll(Collection keys)
Loads given keys.
|
Set |
loadAllKeys()
Loads all of the keys from the store.
|
void |
setEnabled(boolean enable) |
void |
store(Object key,
Object value)
Stores the key-value pair.
|
void |
storeAll(Map map)
Stores multiple entries.
|
String |
toString() |
public MapStoreWrapper(Object impl, HazelcastInstance hazelcastInstance, Properties properties, String mapName, boolean enabled)
public void setEnabled(boolean enable)
public boolean isEnabled()
public void destroy()
public boolean isMapStore()
public boolean isMapLoader()
public void delete(Object key)
MapStorepublic void store(Object key, Object value)
MapStorepublic void storeAll(Map map)
MapStorepublic void deleteAll(Collection keys)
MapStorepublic Set loadAllKeys()
MapLoaderloadAllKeys in interface MapLoaderpublic Object load(Object key)
MapLoaderpublic Map loadAll(Collection keys)
MapLoaderCopyright © 2013 Hazelcast, Inc.. All rights reserved.