|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.map.impl.mapstore.MapDataStores
public final class MapDataStores
Factory class responsible for creating various data store implementations.
MapDataStore
Method Summary | ||
---|---|---|
static
|
createWriteBehindStore(MapStoreContext mapStoreContext,
int partitionId,
WriteBehindProcessor writeBehindProcessor)
Creates a write behind data store. |
|
static
|
createWriteThroughStore(MapStoreContext mapStoreContext)
Creates a write through data store. |
|
static
|
emptyStore()
Used for providing neutral null behaviour. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 WriteBehindProcessor
public 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |