public class PutTransientOperation extends BasePutOperation implements MutatingOperation
dataMergingValue, eventType, oldValue, putTransientdataKey, dataValue, maxIdle, threadId, ttlcreateRecordStoreOnDemand, disableWanReplicationEvent, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStorenameGENERIC_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, shouldUnlockKeyOnBackupgetWaitKey, shouldWaitgetKey, getThreadId, getTtl, getValue, readInternal, setThreadId, writeInternalbeforeRun, canThisOpGenerateWANEvent, evict, getCallerProvenance, getFactoryId, getServiceName, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, publishLoadAsWanUpdate, publishWanRemove, publishWanUpdate, setMapContainer, setMapServicegetName, toStringcall, 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, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdgetWaitTimeoutreadData, writeDatapublic void run()
OperationOperation.run() or Operation.call() method should be implemented; not both.
Runs after wait-support, supposed to do actual operationrun in class OperationOperation.call()public void onWaitExpire()
onWaitExpire in interface BlockingOperationonWaitExpire in class BasePutOperationpublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.