public final class ReplicateTxOperation extends Operation
Constructor and Description |
---|
ReplicateTxOperation() |
ReplicateTxOperation(List<TransactionLog> logs,
String callerUuid,
String txnId,
long timeoutMillis,
long startTime) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun() |
void |
beforeRun() |
Object |
getResponse() |
ExceptionAction |
onException(Throwable throwable) |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
public ReplicateTxOperation()
public ReplicateTxOperation(List<TransactionLog> logs, String callerUuid, String txnId, long timeoutMillis, long startTime)
public void beforeRun() throws Exception
public void afterRun() throws Exception
public boolean returnsResponse()
returnsResponse
in interface RemotePropagatable<Operation>
returnsResponse
in class Operation
public Object getResponse()
getResponse
in class Operation
public ExceptionAction onException(Throwable throwable)
onException
in class Operation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class Operation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class Operation
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.