public abstract class LockAwareOperation extends KeyBasedMapOperation implements BlockingOperation
dataKey, dataValue, maxIdle, threadId, ttlcreateRecordStoreOnDemand, disableWanReplicationEvent, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStorenameGENERIC_PARTITION_ID| Modifier | Constructor and Description |
|---|---|
protected |
LockAwareOperation() |
protected |
LockAwareOperation(String name,
Data dataKey) |
protected |
LockAwareOperation(String name,
Data dataKey,
Data dataValue,
long ttl,
long maxIdle) |
protected |
LockAwareOperation(String name,
Data dataKey,
long ttl,
long maxIdle) |
| Modifier and Type | Method and Description |
|---|---|
WaitNotifyKey |
getWaitKey() |
abstract void |
onWaitExpire() |
boolean |
shouldWait() |
getKey, getThreadId, getTtl, getValue, readInternal, setThreadId, writeInternalbeforeRun, canThisOpGenerateWANEvent, evict, getCallerProvenance, getFactoryId, getServiceName, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, publishLoadAsWanUpdate, publishWanRemove, publishWanUpdate, setMapContainer, setMapServicegetName, toStringafterRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWaitTimeoutgetPartitionIdgetIdreadData, writeDatapublic boolean shouldWait()
shouldWait in interface BlockingOperationpublic abstract void onWaitExpire()
onWaitExpire in interface BlockingOperationpublic final WaitNotifyKey getWaitKey()
getWaitKey in interface BlockingOperationCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.