public interface MapStore<K,V> extends MapLoader<K,V>
IMap.flush()
or IMap.evict(Object)
may trigger this behavior.Modifier and Type | Method and Description |
---|---|
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.
|
void |
store(K key,
V value)
Stores the key-value pair.
|
void |
storeAll(Map<K,V> map)
Stores multiple entries.
|
load, loadAll, loadAllKeys
void store(K key, V value)
key
- key of the entry to storevalue
- value of the entry to storevoid storeAll(Map<K,V> map)
map
- map of entries to storevoid delete(K key)
key
- the key to delete from the store.void deleteAll(Collection<K> keys)
keys
- the keys of the entries to delete.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.