K - type of key to storeV - type of value to storepublic 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) | 
| V | flush(K key,
     V value,
     boolean backup)Flushes the supplied key to the map-store. | 
| void | hardFlush()Flushes write-behind-queue into map-store in calling thread. | 
| 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 | reset()Returns all associated resources of this map-data-store back to the initial state. | 
| long | softFlush()Only marks this  MapDataStoreas flush-able. | 
void addTransient(K key, long now)
void remove(K key, long now)
void removeBackup(K key, long now)
void reset()
Map loadAll(Collection keys)
void removeAll(Collection keys)
Data to object conversions of keys.keys - to be removedboolean loadable(K key)
int notFinishedOperationsCount()
boolean isPostProcessingMapStore()
long softFlush()
MapDataStore as flush-able. Flush means storing entries from write-behind-queue into map-store
 regardless of the scheduled store-time. Actual flushing is done by another thread than partition-operation thread
 which runs StoreWorker.MapFlushOperationvoid hardFlush()
WriteBehindQueue
 of this MapDataStore should be in map-store regardless of the scheduled store-time.
 
 The only call to this method is in node-shutdown.MapManagedService.shutdown(boolean)Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.