public abstract class LockAwareOperation extends KeyBasedMapOperation implements WaitSupport
dataKey, dataValue, mapContainer, mapService, name, partitionContainer, recordStore, threadId, ttl
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, beforeRun, evict, getKey, getName, getThreadId, getTtl, getValue, innerBeforeRun, invalidateNearCaches, readInternal, returnsResponse, setThreadId, writeInternal
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponse, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWaitTimeout
getPartitionId
protected LockAwareOperation(String name, Data dataKey, Data dataValue, long ttl)
protected LockAwareOperation()
public boolean shouldWait()
shouldWait
in interface WaitSupport
public abstract void onWaitExpire()
onWaitExpire
in interface WaitSupport
public final WaitNotifyKey getWaitKey()
getWaitKey
in interface WaitSupport
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.