com.hazelcast.map.impl.operation
Class LockAwareOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.map.impl.operation.KeyBasedMapOperation
com.hazelcast.map.impl.operation.LockAwareOperation
- All Implemented Interfaces:
- DataSerializable, RemotePropagatable<Operation>, PartitionAwareOperation, WaitSupport
- Direct Known Subclasses:
- BasePutOperation, BaseRemoveOperation, EntryOperation, EvictOperation, TxnLockAndGetOperation, TxnUnlockOperation
public abstract class LockAwareOperation
- extends KeyBasedMapOperation
- implements WaitSupport
Methods inherited from class com.hazelcast.map.impl.operation.KeyBasedMapOperation |
afterRun, beforeRun, evict, getKey, getName, getThreadId, getTtl, getValue, innerBeforeRun, invalidateNearCaches, readInternal, returnsResponse, setThreadId, writeInternal |
Methods inherited from class com.hazelcast.spi.Operation |
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 |
LockAwareOperation
protected LockAwareOperation(String name,
Data dataKey)
LockAwareOperation
protected LockAwareOperation(String name,
Data dataKey,
long ttl)
LockAwareOperation
protected LockAwareOperation(String name,
Data dataKey,
Data dataValue,
long ttl)
LockAwareOperation
protected LockAwareOperation()
shouldWait
public boolean shouldWait()
- Specified by:
shouldWait
in interface WaitSupport
onWaitExpire
public abstract void onWaitExpire()
- Specified by:
onWaitExpire
in interface WaitSupport
getWaitKey
public final WaitNotifyKey getWaitKey()
- Specified by:
getWaitKey
in interface WaitSupport
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.