public class PutWithExpiryOperation extends PutOperation
eventType, oldValue
dataKey, dataValue, threadId
createRecordStoreOnDemand, disposeDeferredBlocks, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStore
name
GENERIC_PARTITION_ID
Constructor and Description |
---|
PutWithExpiryOperation() |
PutWithExpiryOperation(String name,
Data dataKey,
Data value,
long ttl,
long maxIdle) |
Modifier and Type | Method and Description |
---|---|
int |
getClassId()
Returns type identifier for this class.
|
protected long |
getMaxIdle() |
Object |
getResponse()
Called if and only if
Operation.returnsResponse() returned true ,
shortly after Operation.run() returns. |
protected long |
getTtl() |
protected void |
readInternal(ObjectDataInput in) |
protected void |
writeInternal(ObjectDataOutput out) |
runInternal
afterRunInternal, getAsyncBackupCount, getBackupOperation, getSyncBackupCount, newBackupOperation, onWaitExpire, shouldBackup
getWaitKey, shouldWait
getKey, getThreadId, getValue, setThreadId
afterRun, beforeRun, disableWanReplicationEvent, evict, getCallerProvenance, getFactoryId, getServiceName, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, logError, onExecutionFailure, publishLoadAsWanUpdate, publishWanRemove, publishWanUpdate, run, setMapContainer, setMapService, wbqCapacityCounter
getName, toString
call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getClientCallId, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, sendResponse, setCallerUuid, setClientCallId, 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
protected long getTtl()
getTtl
in class PutOperation
protected long getMaxIdle()
getMaxIdle
in class PutOperation
public Object getResponse()
Operation
Operation.returnsResponse()
returned true
,
shortly after Operation.run()
returns.getResponse
in class PutOperation
public int getClassId()
IdentifiedDataSerializable
getClassId
in interface IdentifiedDataSerializable
getClassId
in class PutOperation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class KeyBasedMapOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class KeyBasedMapOperation
IOException
Copyright © 2019 Hazelcast, Inc.. All rights reserved.