public class PutTransientOperation extends BasePutOperation implements MutatingOperation
dataMergingValue, eventType, oldValue, putTransient
dataKey, dataValue, maxIdle, threadId, ttl
createRecordStoreOnDemand, disableWanReplicationEvent, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStore
name
GENERIC_PARTITION_ID
Constructor and Description |
---|
PutTransientOperation() |
PutTransientOperation(String name,
Data dataKey,
Data value,
long ttl,
long maxIdle) |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
void |
onWaitExpire() |
void |
run()
Runs the operation.
|
afterRun, getAsyncBackupCount, getBackupOperation, getSyncBackupCount, shouldBackup, shouldUnlockKeyOnBackup
getWaitKey, shouldWait
getKey, getThreadId, getTtl, getValue, readInternal, setThreadId, writeInternal
beforeRun, canThisOpGenerateWANEvent, evict, getCallerProvenance, getFactoryId, getServiceName, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, publishLoadAsWanUpdate, publishWanRemove, publishWanUpdate, setMapContainer, setMapService
getName, toString
call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
getWaitTimeout
readData, writeData
public void run()
Operation
Operation.run()
or Operation.call()
method should be implemented; not both.
Runs after wait-support, supposed to do actual operationrun
in class Operation
Operation.call()
public void onWaitExpire()
onWaitExpire
in interface BlockingOperation
onWaitExpire
in class BasePutOperation
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.