public class HDTxnSetOperation extends HDBasePutOperation implements com.hazelcast.map.impl.tx.MapTxnOperation, com.hazelcast.spi.impl.MutatingOperation
dataMergingValue, eventType, oldValue, putTransientdataKey, dataValue, maxIdle, threadId, ttlDEFAULT_FORCED_EVICTION_RETRY_COUNT, FORCED_EVICTION_RETRY_COUNT, PROP_FORCED_EVICTION_RETRY_COUNT| Constructor and Description |
|---|
HDTxnSetOperation() |
HDTxnSetOperation(String name,
com.hazelcast.nio.serialization.Data dataKey,
com.hazelcast.nio.serialization.Data value,
long version,
long ttl) |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
com.hazelcast.spi.WaitNotifyKey |
getNotifiedKey() |
Object |
getResponse() |
long |
getVersion() |
void |
innerBeforeRun() |
void |
onWaitExpire() |
protected void |
readInternal(com.hazelcast.nio.ObjectDataInput in) |
protected void |
runInternal() |
void |
setOwnerUuid(String ownerUuid) |
void |
setVersion(long version) |
boolean |
shouldBackup() |
boolean |
shouldNotify() |
protected boolean |
shouldUnlockKeyOnBackup() |
boolean |
shouldWait() |
protected void |
toString(StringBuilder sb) |
protected void |
writeInternal(com.hazelcast.nio.ObjectDataOutput out) |
afterRun, getAsyncBackupCount, getBackupOperation, getSyncBackupCountgetWaitKeygetKey, getNow, getServiceName, getThreadId, getTtl, getValue, returnsResponse, setThreadIddisposeDeferredBlocks, evict, getFactoryId, getRetryCount, logError, onExecutionFailure, runbeforeRun, canThisOpGenerateWANEvent, getCallerProvenance, getServiceNamespace, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, publishLoadAsWanUpdate, publishWanRemove, publishWanUpdate, setMapContainer, setMapServicecall, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDatapublic HDTxnSetOperation()
public HDTxnSetOperation(String name, com.hazelcast.nio.serialization.Data dataKey, com.hazelcast.nio.serialization.Data value, long version, long ttl)
public boolean shouldWait()
shouldWait in interface com.hazelcast.spi.BlockingOperationshouldWait in class HDLockAwareOperationpublic void innerBeforeRun()
throws Exception
innerBeforeRun in class HDMapOperationExceptionprotected void runInternal()
runInternal in class HDMapOperationpublic long getVersion()
getVersion in interface com.hazelcast.map.impl.tx.MapTxnOperationpublic void setVersion(long version)
setVersion in interface com.hazelcast.map.impl.tx.MapTxnOperationpublic void setOwnerUuid(String ownerUuid)
setOwnerUuid in interface com.hazelcast.map.impl.tx.MapTxnOperationpublic Object getResponse()
getResponse in class com.hazelcast.spi.Operationpublic boolean shouldNotify()
shouldNotify in interface com.hazelcast.spi.Notifierprotected boolean shouldUnlockKeyOnBackup()
shouldUnlockKeyOnBackup in class HDBasePutOperationpublic void onWaitExpire()
onWaitExpire in interface com.hazelcast.spi.BlockingOperationonWaitExpire in class HDBasePutOperationpublic boolean shouldBackup()
shouldBackup in interface com.hazelcast.spi.BackupAwareOperationshouldBackup in class HDBasePutOperationpublic com.hazelcast.spi.WaitNotifyKey getNotifiedKey()
getNotifiedKey in interface com.hazelcast.spi.Notifierprotected 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 HDKeyBasedMapOperationIOExceptionprotected void toString(StringBuilder sb)
toString in class com.hazelcast.spi.impl.AbstractNamedOperationpublic int getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializableCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.