com.hazelcast.map.impl.tx
public class TxnLockAndGetOperation extends LockAwareOperation implements MutatingOperation
dataKey, dataValue, mapContainer, mapService, name, partitionContainer, recordStore, threadId, ttl
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
TxnLockAndGetOperation() |
TxnLockAndGetOperation(String name,
Data dataKey,
long timeout,
long ttl,
String ownerUuid) |
Modifier and Type | Method and Description |
---|---|
Object |
getResponse() |
void |
onWaitExpire() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldWait() |
String |
toString() |
protected void |
writeInternal(ObjectDataOutput out) |
getWaitKey
afterRun, beforeRun, evict, getKey, getName, getServiceName, getThreadId, getTtl, getValue, innerBeforeRun, invalidateNearCaches, returnsResponse, setThreadId
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWaitTimeout
getPartitionId
public boolean shouldWait()
shouldWait
in interface WaitSupport
shouldWait
in class LockAwareOperation
public void onWaitExpire()
onWaitExpire
in interface WaitSupport
onWaitExpire
in class LockAwareOperation
public Object getResponse()
getResponse
in class Operation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class KeyBasedMapOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class KeyBasedMapOperation
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.