com.hazelcast.transaction.impl
public final class ReplicateTxOperation extends Operation
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
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() |
String |
getServiceName() |
ExceptionAction |
onException(Throwable throwable) |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, readData, setCallerUuid, 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 String getServiceName()
getServiceName
in class Operation
public void beforeRun() throws Exception
public void afterRun() throws Exception
public boolean returnsResponse()
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 © 2015 Hazelcast, Inc.. All Rights Reserved.