public abstract class HDBasePutOperation extends HDLockAwareOperation implements com.hazelcast.spi.BackupAwareOperation
| Modifier and Type | Field and Description |
|---|---|
protected com.hazelcast.nio.serialization.Data |
dataMergingValue |
protected com.hazelcast.nio.serialization.Data |
dataOldValue |
protected com.hazelcast.core.EntryEventType |
eventType |
protected boolean |
putTransient |
dataKey, dataValue, threadId, ttlDEFAULT_FORCED_EVICTION_RETRY_COUNT, FORCED_EVICTION_RETRY_COUNT, PROP_FORCED_EVICTION_RETRY_COUNT| Constructor and Description |
|---|
HDBasePutOperation() |
HDBasePutOperation(String name,
com.hazelcast.nio.serialization.Data dataKey,
com.hazelcast.nio.serialization.Data value) |
HDBasePutOperation(String name,
com.hazelcast.nio.serialization.Data dataKey,
com.hazelcast.nio.serialization.Data value,
long ttl) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
protected boolean |
canThisOpGenerateWANEvent() |
int |
getAsyncBackupCount() |
com.hazelcast.spi.Operation |
getBackupOperation() |
int |
getSyncBackupCount() |
void |
onWaitExpire() |
boolean |
shouldBackup() |
protected boolean |
shouldUnlockKeyOnBackup() |
getWaitKey, shouldWaitgetKey, getNow, getServiceName, getThreadId, getTtl, getValue, readInternal, returnsResponse, setThreadId, writeInternaldisposeDeferredBlocks, evict, getFactoryId, getRetryCount, innerBeforeRun, logError, onExecutionFailure, run, runInternalbeforeRun, getServiceNamespace, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapServicecall, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataprotected transient com.hazelcast.nio.serialization.Data dataOldValue
protected transient com.hazelcast.nio.serialization.Data dataMergingValue
protected transient com.hazelcast.core.EntryEventType eventType
protected transient boolean putTransient
public HDBasePutOperation(String name, com.hazelcast.nio.serialization.Data dataKey, com.hazelcast.nio.serialization.Data value)
public HDBasePutOperation(String name, com.hazelcast.nio.serialization.Data dataKey, com.hazelcast.nio.serialization.Data value, long ttl)
public HDBasePutOperation()
public void afterRun()
throws Exception
afterRun in class HDKeyBasedMapOperationExceptionprotected boolean canThisOpGenerateWANEvent()
true if this operation can generate WAN event, otherwise return false
to indicate WAN event generation is not allowed for this operationpublic boolean shouldBackup()
shouldBackup in interface com.hazelcast.spi.BackupAwareOperationpublic com.hazelcast.spi.Operation getBackupOperation()
getBackupOperation in interface com.hazelcast.spi.BackupAwareOperationprotected boolean shouldUnlockKeyOnBackup()
public final int getAsyncBackupCount()
getAsyncBackupCount in interface com.hazelcast.spi.BackupAwareOperationpublic final int getSyncBackupCount()
getSyncBackupCount in interface com.hazelcast.spi.BackupAwareOperationpublic void onWaitExpire()
onWaitExpire in interface com.hazelcast.spi.BlockingOperationonWaitExpire in class HDLockAwareOperationCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.