public class HDLegacyMergeOperation extends HDBasePutOperation
dataMergingValue, dataOldValue, eventType, putTransientdataKey, dataValue, threadId, ttlDEFAULT_FORCED_EVICTION_RETRY_COUNT, FORCED_EVICTION_RETRY_COUNT, PROP_FORCED_EVICTION_RETRY_COUNT| Constructor and Description |
|---|
HDLegacyMergeOperation() |
HDLegacyMergeOperation(String name,
com.hazelcast.core.EntryView<com.hazelcast.nio.serialization.Data,com.hazelcast.nio.serialization.Data> entryView,
com.hazelcast.map.merge.MapMergePolicy policy,
boolean disableWanReplicationEvent) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
protected boolean |
canThisOpGenerateWANEvent() |
com.hazelcast.spi.Operation |
getBackupOperation() |
int |
getId() |
Object |
getResponse() |
protected void |
readInternal(com.hazelcast.nio.ObjectDataInput in) |
protected void |
runInternal() |
boolean |
shouldBackup() |
protected void |
writeInternal(com.hazelcast.nio.ObjectDataOutput out) |
getAsyncBackupCount, getSyncBackupCount, onWaitExpire, shouldUnlockKeyOnBackupgetWaitKey, shouldWaitgetKey, getNow, getServiceName, getThreadId, getTtl, getValue, returnsResponse, setThreadIddisposeDeferredBlocks, evict, getFactoryId, getRetryCount, innerBeforeRun, logError, onExecutionFailure, runbeforeRun, getServiceNamespace, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapServicecall, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDatapublic HDLegacyMergeOperation()
public HDLegacyMergeOperation(String name, com.hazelcast.core.EntryView<com.hazelcast.nio.serialization.Data,com.hazelcast.nio.serialization.Data> entryView, com.hazelcast.map.merge.MapMergePolicy policy, boolean disableWanReplicationEvent)
protected void runInternal()
runInternal in class HDMapOperationprotected boolean canThisOpGenerateWANEvent()
canThisOpGenerateWANEvent in class HDBasePutOperationtrue if this operation can generate WAN event, otherwise return false
to indicate WAN event generation is not allowed for this operationpublic Object getResponse()
getResponse in class com.hazelcast.spi.Operationpublic boolean shouldBackup()
shouldBackup in interface com.hazelcast.spi.BackupAwareOperationshouldBackup in class HDBasePutOperationpublic void afterRun()
throws Exception
afterRun in class HDBasePutOperationExceptionpublic com.hazelcast.spi.Operation getBackupOperation()
getBackupOperation in interface com.hazelcast.spi.BackupAwareOperationgetBackupOperation in class HDBasePutOperationprotected void writeInternal(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeInternal in class HDKeyBasedMapOperationIOExceptionprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readInternal in class HDKeyBasedMapOperationIOExceptionpublic int getId()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.