public abstract class LockAwareOperation extends KeyBasedMapOperation implements WaitSupport
dataKey, dataValue, recordStore, threadId, ttlmapContainer, mapService, mapServiceContextnameCALL_ID_LOCAL_SKIPPED, 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, evict, getKey, getServiceName, getThreadId, getTtl, getValue, innerBeforeRun, readInternal, returnsResponse, setThreadId, toString, writeInternalbeforeRun, clearLocalNearCache, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapServicegetNamegetResponsegetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWaitTimeoutgetPartitionIdgetNamepublic boolean shouldWait()
shouldWait in interface WaitSupportpublic abstract void onWaitExpire()
onWaitExpire in interface WaitSupportpublic final WaitNotifyKey getWaitKey()
getWaitKey in interface WaitSupportCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.