com.hazelcast.map.impl.mapstore
K
- type of key to store.V
- type of value to store.public interface MapDataStore<K,V>
Modifier and Type | Method and Description |
---|---|
V |
add(K key,
V value,
long now) |
V |
addBackup(K key,
V value,
long now) |
void |
addTransient(K key,
long now) |
void |
clear()
Clears resources of this map-data-store.
|
Collection<Data> |
flush()
Flushes all keys in this map-store.
|
V |
flush(K key,
V value,
long now,
boolean backup)
Flushes the supplied key to the map-store.
|
boolean |
isPostProcessingMapStore() |
V |
load(K key) |
boolean |
loadable(K key) |
Map |
loadAll(Collection keys) |
int |
notFinishedOperationsCount() |
void |
remove(K key,
long now) |
void |
removeAll(Collection keys)
Removes keys from map store.
|
void |
removeBackup(K key,
long now) |
void addTransient(K key, long now)
void remove(K key, long now)
void removeBackup(K key, long now)
void clear()
Map loadAll(Collection keys)
void removeAll(Collection keys)
Data
to object conversions of keys.keys
- to be removed.boolean loadable(K key)
int notFinishedOperationsCount()
boolean isPostProcessingMapStore()
Collection<Data> flush()
Data
keys list.Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.