public abstract class LockAwareOperation extends MutatingKeyBasedMapOperation implements BlockingOperation
dataKey, dataValue, threadId, ttlcreateRecordStoreOnDemand, 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) |
protected |
LockAwareOperation(String name,
Data dataKey,
long ttl) |
| Modifier and Type | Method and Description |
|---|---|
WaitNotifyKey |
getWaitKey() |
abstract void |
onWaitExpire() |
boolean |
shouldWait() |
createMapEntry, getKey, getLocalMapStats, getNow, getThreadId, getTtl, getValue, noOp, readInternal, setThreadId, writeInternalbeforeRun, evict, getFactoryId, getServiceName, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapServicegetName, toStringafterRun, 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, 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 © 2017 Hazelcast, Inc.. All Rights Reserved.