public final class MapDataStores extends Object
MapDataStore| Modifier and Type | Method and Description | 
|---|---|
static <K,V> MapDataStore<K,V> | 
createWriteBehindStore(MapContainer mapContainer,
                      int partitionId,
                      WriteBehindProcessor writeBehindProcessor)
Creates a write behind data store. 
 | 
static <K,V> MapDataStore<K,V> | 
createWriteThroughStore(MapContainer mapContainer)
Creates a write through data store. 
 | 
static <K,V> MapDataStore<K,V> | 
emptyStore()
Used for providing neutral null behaviour. 
 | 
public static <K,V> MapDataStore<K,V> createWriteBehindStore(MapContainer mapContainer, int partitionId, WriteBehindProcessor writeBehindProcessor)
K - type of key to store.V - type of value to store.mapContainer - corresponding container of map.partitionId - partition id of partition.public static <K,V> MapDataStore<K,V> createWriteThroughStore(MapContainer mapContainer)
K - type of key to store.V - type of value to store.mapContainer - corresponding container of map.public static <K,V> MapDataStore<K,V> emptyStore()
K - type of key to store.V - type of value to store.Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.