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