public abstract class LockAwareOperation extends MutatingKeyBasedMapOperation implements BlockingOperation
dataKey, dataValue, threadId, ttlcreateRecordStoreOnDemand, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStorenameBITMASK_LOAD_ALL_WITH_USER_SUPPLIED_KEYS, 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() |
afterRun, getKey, getThreadId, getTtl, getValue, readInternal, returnsResponse, setThreadId, writeInternalbeforeRun, clearLocalNearCache, evict, getServiceName, innerBeforeRun, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapServicegetName, toStringgetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isFlagSet, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, run, sendResponse, setCallerUuid, setFlag, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWaitTimeoutgetPartitionIdpublic 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.