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 storeV
- type of value to storemapStoreContext
- context for map store operationspartitionId
- partition ID of partitionwriteBehindProcessor
- the WriteBehindProcessor
public static <K,V> MapDataStore<K,V> createWriteThroughStore(MapStoreContext mapStoreContext)
K
- type of key to storeV
- type of value to storemapStoreContext
- context for map store operationspublic static <K,V> MapDataStore<K,V> emptyStore()
K
- type of key to storeV
- type of value to storeCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.