public interface MapOperationProvider
InMemoryFormat
specific
operations for IMap
.MapOperation createPutOperation(String name, Data key, Data value, long ttl, long maxIdle)
MapOperation createTryPutOperation(String name, Data dataKey, Data value, long timeout)
MapOperation createSetOperation(String name, Data dataKey, Data value, long ttl, long maxIdle)
MapOperation createPutIfAbsentOperation(String name, Data key, Data value, long ttl, long maxIdle)
MapOperation createPutTransientOperation(String name, Data key, Data value, long ttl, long maxIdle)
MapOperation createSetTtlOperation(String name, Data key, long ttl)
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 createRemoveOperation(String name, Data key, boolean disableWanReplicationEvent)
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 should 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 createQueryOperation(Query query)
MapOperation createQueryPartitionOperation(Query query)
MapOperation createLoadAllOperation(String name, List<Data> keys, boolean replaceExistingValues)
keys
on
the partition owner.name
- the map namekeys
- the keys for which values are to be loadedreplaceExistingValues
- if the existing entries for the loaded keys should be replacedMapOperation 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 createLegacyMergeOperation(String name, EntryView<Data,Data> entryView, MapMergePolicy policy, boolean disableWanReplicationEvent)
MapOperation createMergeOperation(String name, SplitBrainMergeTypes.MapMergeTypes mergingValue, SplitBrainMergePolicy<Data,SplitBrainMergeTypes.MapMergeTypes> mergePolicy, 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)
MapOperation createFetchWithQueryOperation(String name, int lastTableIndex, int fetchSize, Query query)
MapProxyImpl.iterator(int, int, com.hazelcast.projection.Projection, Predicate)
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)
OperationFactory createMergeOperationFactory(String name, int[] partitions, List<SplitBrainMergeTypes.MapMergeTypes>[] mergingEntries, SplitBrainMergePolicy<Data,SplitBrainMergeTypes.MapMergeTypes> mergePolicy)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.