public class TxnLockAndGetOperation extends MultiMapKeyBasedOperation implements WaitSupport, TxnMultiMapOperation
dataKey
name, response
PUT_OPERATION, REMOVE_ALL_OPERATION, REMOVE_OPERATION
Constructor and Description |
---|
TxnLockAndGetOperation() |
TxnLockAndGetOperation(String name,
Data dataKey,
long timeout,
long ttl,
long threadId) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
WaitNotifyKey |
getWaitKey() |
void |
onWaitExpire() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldWait() |
protected void |
writeInternal(ObjectDataOutput out) |
delete, getCollectionWrapper, getOrCreateCollectionWrapper, remove
afterRun, beforeRun, getAsyncBackupCount, getFactoryId, getOrCreateContainer, getResponse, getServiceName, getSyncBackupCount, hasListener, isBinary, publishEvent, returnsResponse, toData, toObject
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getStartTime, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWaitTimeout
getPartitionId
readData, writeData
public WaitNotifyKey getWaitKey()
getWaitKey
in interface WaitSupport
public boolean shouldWait()
shouldWait
in interface WaitSupport
public void onWaitExpire()
onWaitExpire
in interface WaitSupport
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class MultiMapKeyBasedOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class MultiMapKeyBasedOperation
IOException
public int getId()
getId
in interface IdentifiedDataSerializable
Copyright © 2014 Hazelcast, Inc.. All rights reserved.