|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.core.MapStoreAdapter<K,V>
K - key of the map entryV - value of the map entry.public class MapStoreAdapter<K,V>
Adapter for MapStore.
MapStore| Constructor Summary | |
|---|---|
MapStoreAdapter()
|
|
| Method Summary | |
|---|---|
void |
delete(K key)
Deletes the entry with a given key from the store. |
void |
deleteAll(Collection<K> keys)
Deletes multiple entries from the store. |
V |
load(K key)
Loads the value of a given key. |
Map<K,V> |
loadAll(Collection<K> keys)
Loads given keys. |
Set<K> |
loadAllKeys()
Loads all of the keys from the store. |
void |
store(K key,
V value)
Stores the key-value pair. |
void |
storeAll(Map<K,V> map)
Stores multiple entries. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapStoreAdapter()
| Method Detail |
|---|
public void delete(K key)
delete in interface MapStore<K,V>key - key to delete from the store.
public void store(K key,
V value)
store in interface MapStore<K,V>key - key of the entry to storevalue - value of the entry to storepublic void storeAll(Map<K,V> map)
storeAll in interface MapStore<K,V>map - map of entries to storepublic void deleteAll(Collection<K> keys)
deleteAll in interface MapStore<K,V>keys - keys of the entries to delete.public V load(K key)
load in interface MapLoader<K,V>public Map<K,V> loadAll(Collection<K> keys)
loadAll in interface MapLoader<K,V>keys - keys of the values entries to load
public Set<K> loadAllKeys()
loadAllKeys in interface MapLoader<K,V>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||