public class TxnLockAndGetOperation extends MultiMapKeyBasedOperation implements WaitSupport, TxnMultiMapOperation
dataKeyname, responsePUT_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, removeafterRun, beforeRun, getAsyncBackupCount, getFactoryId, getOrCreateContainer, getResponse, getServiceName, getSyncBackupCount, hasListener, isBinary, publishEvent, returnsResponse, toData, toObjectgetCallerAddress, 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, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWaitTimeoutgetPartitionIdreadData, writeDatapublic WaitNotifyKey getWaitKey()
getWaitKey in interface WaitSupportpublic boolean shouldWait()
shouldWait in interface WaitSupportpublic void onWaitExpire()
onWaitExpire in interface WaitSupportprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class MultiMapKeyBasedOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class MultiMapKeyBasedOperationIOExceptionpublic int getId()
getId in interface IdentifiedDataSerializableCopyright © 2021 Hazelcast, Inc.. All rights reserved.