public abstract class LockAwareOperation extends MutatingKeyBasedMapOperation implements BlockingOperation
dataKey, dataValue, threadId, ttl
createRecordStoreOnDemand, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStore
name
GENERIC_PARTITION_ID
Modifier | Constructor and Description |
---|---|
protected |
LockAwareOperation() |
protected |
LockAwareOperation(String name,
Data dataKey) |
protected |
LockAwareOperation(String name,
Data dataKey,
Data dataValue,
long ttl) |
protected |
LockAwareOperation(String name,
Data dataKey,
long ttl) |
Modifier and Type | Method and Description |
---|---|
WaitNotifyKey |
getWaitKey() |
abstract void |
onWaitExpire() |
boolean |
shouldWait() |
getKey, getThreadId, getTtl, getValue, readInternal, setThreadId, writeInternal
beforeRun, evict, getFactoryId, getServiceName, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapService
getName, toString
afterRun, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWaitTimeout
getPartitionId
getId
readData, writeData
public boolean shouldWait()
shouldWait
in interface BlockingOperation
public abstract void onWaitExpire()
onWaitExpire
in interface BlockingOperation
public final WaitNotifyKey getWaitKey()
getWaitKey
in interface BlockingOperation
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.