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