public interface MapOperationProvider
InMemoryFormat
specific
operations for IMap
.MapOperation createPutOperation(String name, Data key, Data value, long ttl)
MapOperation createTryPutOperation(String name, Data dataKey, Data value, long timeout)
MapOperation createSetOperation(String name, Data dataKey, Data value, long ttl)
MapOperation createPutIfAbsentOperation(String name, Data key, Data value, long ttl)
MapOperation createPutTransientOperation(String name, Data key, Data value, long ttl)
MapOperation createRemoveOperation(String name, Data key, boolean disableWanReplicationEvent)
MapOperation createTryRemoveOperation(String name, Data dataKey, long timeout)
MapOperation createReplaceOperation(String name, Data dataKey, Data value)
MapOperation createRemoveIfSameOperation(String name, Data dataKey, Data value)
MapOperation createReplaceIfSameOperation(String name, Data dataKey, Data expect, Data update)
MapOperation createDeleteOperation(String name, Data key, boolean disableWanReplicationEvent)
key
from the map named name
.
You can also specify whether this operation should trigger a WAN replication event.name
- the map namekey
- the entry keydisableWanReplicationEvent
- if the delete operation not send a WAN replication eventMapOperation createClearOperation(String name)
MapOperation createEntryOperation(String name, Data dataKey, EntryProcessor entryProcessor)
MapOperation createEvictOperation(String name, Data dataKey, boolean asyncBackup)
MapOperation createEvictAllOperation(String name)
MapOperation createContainsKeyOperation(String name, Data dataKey)
MapOperation createGetEntryViewOperation(String name, Data dataKey)
MapOperation createGetOperation(String name, Data dataKey)
MapOperation createLoadAllOperation(String name, List<Data> keys, boolean replaceExistingValues)
MapOperation createPutAllOperation(String name, MapEntries mapEntries)
MapOperation createPutFromLoadAllOperation(String name, List<Data> keyValueSequence)
MapOperation createTxnDeleteOperation(String name, Data dataKey, long version)
MapOperation createTxnLockAndGetOperation(String name, Data dataKey, long timeout, long ttl, String ownerUuid, boolean shouldLoad, boolean blockReads)
MapOperation createTxnSetOperation(String name, Data dataKey, Data value, long version, long ttl)
MapOperation createMergeOperation(String name, Data dataKey, EntryView<Data,Data> entryView, MapMergePolicy policy, boolean disableWanReplicationEvent)
MapOperation createMapFlushOperation(String name)
MapOperation createLoadMapOperation(String name, boolean replaceExistingValues)
MapOperation createFetchKeysOperation(String name, int lastTableIndex, int fetchSize)
MapOperation createFetchEntriesOperation(String name, int lastTableIndex, int fetchSize)
OperationFactory createPartitionWideEntryOperationFactory(String name, EntryProcessor entryProcessor)
OperationFactory createPartitionWideEntryWithPredicateOperationFactory(String name, EntryProcessor entryProcessor, Predicate predicate)
OperationFactory createMultipleEntryOperationFactory(String name, Set<Data> keys, EntryProcessor entryProcessor)
OperationFactory createContainsValueOperationFactory(String name, Data testValue)
OperationFactory createEvictAllOperationFactory(String name)
OperationFactory createClearOperationFactory(String name)
OperationFactory createMapFlushOperationFactory(String name)
OperationFactory createLoadAllOperationFactory(String name, List<Data> keys, boolean replaceExistingValues)
OperationFactory createGetAllOperationFactory(String name, List<Data> keys)
OperationFactory createMapSizeOperationFactory(String name)
OperationFactory createPutAllOperationFactory(String name, int[] partitions, MapEntries[] mapEntries)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.