com.hazelcast.map.impl.tx
Class TxnRollbackBackupOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.map.impl.operation.KeyBasedMapOperation
com.hazelcast.map.impl.tx.TxnRollbackBackupOperation
- All Implemented Interfaces:
- DataSerializable, BackupOperation, RemotePropagatable<Operation>, PartitionAwareOperation
public class TxnRollbackBackupOperation
- extends KeyBasedMapOperation
- implements BackupOperation
An operation to rollback transaction by unlocking the key on key backup owner.
Methods inherited from class com.hazelcast.map.impl.operation.KeyBasedMapOperation |
afterRun, beforeRun, evict, getKey, getName, getThreadId, getTtl, getValue, innerBeforeRun, invalidateNearCaches, returnsResponse, setThreadId |
Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
TxnRollbackBackupOperation
protected TxnRollbackBackupOperation(String name,
Data dataKey,
String lockOwner,
long lockThreadId)
TxnRollbackBackupOperation
public TxnRollbackBackupOperation()
run
public void run()
throws Exception
- Specified by:
run
in class Operation
- Throws:
Exception
getResponse
public Object getResponse()
- Specified by:
getResponse
in class Operation
writeInternal
protected void writeInternal(ObjectDataOutput out)
throws IOException
- Overrides:
writeInternal
in class KeyBasedMapOperation
- Throws:
IOException
readInternal
protected void readInternal(ObjectDataInput in)
throws IOException
- Overrides:
readInternal
in class KeyBasedMapOperation
- Throws:
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.