public abstract class LockAwareOperation extends KeyBasedMapOperation implements BlockingOperation
dataKey, dataValue, threadId
createRecordStoreOnDemand, disposeDeferredBlocks, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStore
name
GENERIC_PARTITION_ID
Modifier | Constructor and Description |
---|---|
protected |
LockAwareOperation() |
protected |
LockAwareOperation(String name,
Data dataKey) |
|
LockAwareOperation(String name,
Data dataKey,
Data dataValue) |
Modifier and Type | Method and Description |
---|---|
WaitNotifyKey |
getWaitKey() |
abstract void |
onWaitExpire() |
boolean |
shouldWait() |
getKey, getThreadId, getValue, readInternal, setThreadId, writeInternal
afterRun, afterRunInternal, beforeRun, disableWanReplicationEvent, evict, getCallerProvenance, getFactoryId, getServiceName, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, logError, onExecutionFailure, publishLoadAsWanUpdate, publishWanRemove, publishWanUpdate, run, runInternal, setMapContainer, setMapService, wbqCapacityCounter
getName, toString
call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getClientCallId, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, 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
getWaitTimeout
getPartitionId
getClassId
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 © 2019 Hazelcast, Inc.. All rights reserved.