public abstract class LockAwareOperation extends KeyBasedMapOperation implements WaitSupport
dataKey, dataValue, recordStore, threadId, ttl
mapContainer, mapService, mapServiceContext
name
CALL_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, writeInternal
beforeRun, clearNearCache, invalidateNearCache, invalidateNearCache, setMapContainer, setMapService
getName
getResponse
getCallerAddress, 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, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWaitTimeout
getPartitionId
getName
public boolean shouldWait()
shouldWait
in interface WaitSupport
public abstract void onWaitExpire()
onWaitExpire
in interface WaitSupport
public final WaitNotifyKey getWaitKey()
getWaitKey
in interface WaitSupport
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.