public class WANAwareOperationProvider extends Object
Operation
creations are delegated to underlying MapOperationProvider
instance
after checks.Constructor and Description |
---|
WANAwareOperationProvider(MapServiceContext mapServiceContext,
MapOperationProvider operationProviderDelegate) |
public WANAwareOperationProvider(MapServiceContext mapServiceContext, MapOperationProvider operationProviderDelegate)
public MapOperation createPutOperation(String name, Data key, Data value, long ttl)
createPutOperation
in interface MapOperationProvider
public MapOperation createTryPutOperation(String name, Data dataKey, Data value, long timeout)
createTryPutOperation
in interface MapOperationProvider
public MapOperation createSetOperation(String name, Data dataKey, Data value, long ttl)
createSetOperation
in interface MapOperationProvider
public MapOperation createPutIfAbsentOperation(String name, Data key, Data value, long ttl)
createPutIfAbsentOperation
in interface MapOperationProvider
public MapOperation createPutTransientOperation(String name, Data key, Data value, long ttl)
createPutTransientOperation
in interface MapOperationProvider
public MapOperation createRemoveOperation(String name, Data key, boolean disableWanReplicationEvent)
createRemoveOperation
in interface MapOperationProvider
public MapOperation createTryRemoveOperation(String name, Data dataKey, long timeout)
createTryRemoveOperation
in interface MapOperationProvider
public MapOperation createReplaceOperation(String name, Data dataKey, Data value)
createReplaceOperation
in interface MapOperationProvider
public MapOperation createRemoveIfSameOperation(String name, Data dataKey, Data value)
createRemoveIfSameOperation
in interface MapOperationProvider
public MapOperation createReplaceIfSameOperation(String name, Data dataKey, Data expect, Data update)
createReplaceIfSameOperation
in interface MapOperationProvider
public MapOperation createDeleteOperation(String name, Data key)
createDeleteOperation
in interface MapOperationProvider
public MapOperation createEntryOperation(String name, Data dataKey, EntryProcessor entryProcessor)
createEntryOperation
in interface MapOperationProvider
public MapOperation createPutAllOperation(String name, MapEntries mapEntries)
createPutAllOperation
in interface MapOperationProvider
public OperationFactory createPutAllOperationFactory(String name, int[] partitions, MapEntries[] mapEntries)
createPutAllOperationFactory
in interface MapOperationProvider
public MapOperation createPutFromLoadAllOperation(String name, List<Data> keyValueSequence)
createPutFromLoadAllOperation
in interface MapOperationProvider
public MapOperation createTxnDeleteOperation(String name, Data dataKey, long version)
createTxnDeleteOperation
in interface MapOperationProvider
public MapOperation createTxnSetOperation(String name, Data dataKey, Data value, long version, long ttl)
createTxnSetOperation
in interface MapOperationProvider
public OperationFactory createPartitionWideEntryOperationFactory(String name, EntryProcessor entryProcessor)
createPartitionWideEntryOperationFactory
in interface MapOperationProvider
public OperationFactory createPartitionWideEntryWithPredicateOperationFactory(String name, EntryProcessor entryProcessor, Predicate predicate)
createPartitionWideEntryWithPredicateOperationFactory
in interface MapOperationProvider
public OperationFactory createMultipleEntryOperationFactory(String name, Set<Data> keys, EntryProcessor entryProcessor)
createMultipleEntryOperationFactory
in interface MapOperationProvider
public MapOperation createClearOperation(String name)
createClearOperation
in interface MapOperationProvider
public MapOperation createEvictOperation(String name, Data dataKey, boolean asyncBackup)
createEvictOperation
in interface MapOperationProvider
public MapOperation createEvictAllOperation(String name)
createEvictAllOperation
in interface MapOperationProvider
public MapOperation createContainsKeyOperation(String name, Data dataKey)
createContainsKeyOperation
in interface MapOperationProvider
public MapOperation createGetEntryViewOperation(String name, Data dataKey)
createGetEntryViewOperation
in interface MapOperationProvider
public MapOperation createGetOperation(String name, Data dataKey)
createGetOperation
in interface MapOperationProvider
public MapOperation createLoadAllOperation(String name, List<Data> keys, boolean replaceExistingValues)
createLoadAllOperation
in interface MapOperationProvider
public MapOperation createTxnLockAndGetOperation(String name, Data dataKey, long timeout, long ttl, String ownerUuid, boolean shouldLoad, boolean blockReads)
createTxnLockAndGetOperation
in interface MapOperationProvider
public MapOperation createMergeOperation(String name, Data dataKey, EntryView<Data,Data> entryView, MapMergePolicy policy, boolean disableWanReplicationEvent)
createMergeOperation
in interface MapOperationProvider
public OperationFactory createContainsValueOperationFactory(String name, Data testValue)
createContainsValueOperationFactory
in interface MapOperationProvider
public OperationFactory createEvictAllOperationFactory(String name)
createEvictAllOperationFactory
in interface MapOperationProvider
public OperationFactory createClearOperationFactory(String name)
createClearOperationFactory
in interface MapOperationProvider
public OperationFactory createMapFlushOperationFactory(String name)
createMapFlushOperationFactory
in interface MapOperationProvider
public OperationFactory createLoadAllOperationFactory(String name, List<Data> keys, boolean replaceExistingValues)
createLoadAllOperationFactory
in interface MapOperationProvider
public OperationFactory createGetAllOperationFactory(String name, List<Data> keys)
createGetAllOperationFactory
in interface MapOperationProvider
public OperationFactory createMapSizeOperationFactory(String name)
createMapSizeOperationFactory
in interface MapOperationProvider
public MapOperation createMapFlushOperation(String name)
createMapFlushOperation
in interface MapOperationProvider
public MapOperation createLoadMapOperation(String name, boolean replaceExistingValues)
createLoadMapOperation
in interface MapOperationProvider
public MapOperation createFetchKeysOperation(String name, int lastTableIndex, int fetchSize)
createFetchKeysOperation
in interface MapOperationProvider
public MapOperation createFetchEntriesOperation(String name, int lastTableIndex, int fetchSize)
createFetchEntriesOperation
in interface MapOperationProvider
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.