com.hazelcast.map.impl.tx
Class TxnPrepareBackupOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.map.impl.operation.KeyBasedMapOperation
com.hazelcast.map.impl.tx.TxnPrepareBackupOperation
- All Implemented Interfaces:
- DataSerializable, BackupOperation, RemotePropagatable<Operation>, PartitionAwareOperation
public class TxnPrepareBackupOperation
- extends KeyBasedMapOperation
- implements BackupOperation
An operation to prepare transaction by locking 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 |
TxnPrepareBackupOperation
protected TxnPrepareBackupOperation(String name,
Data dataKey,
String lockOwner,
long lockThreadId)
TxnPrepareBackupOperation
public TxnPrepareBackupOperation()
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.