public class CreateTxBackupLogOperation extends AbstractTxOperation
GENERIC_PARTITION_ID
Constructor and Description |
---|
CreateTxBackupLogOperation() |
CreateTxBackupLogOperation(String callerUuid,
String txnId) |
Modifier and Type | Method and Description |
---|---|
String |
getCallerUuid() |
int |
getId()
Returns type identifier for this class.
|
Object |
getResponse()
Called if and only if
Operation.returnsResponse() returned true ,
shortly after Operation.run() returns. |
String |
getTxnId() |
ExceptionAction |
onInvocationException(Throwable throwable)
Called when an Exception/Error is thrown
during an invocation.
|
protected void |
readInternal(ObjectDataInput in) |
void |
run()
Runs the operation.
|
protected void |
writeInternal(ObjectDataOutput out) |
getFactoryId, getServiceName
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
public void run() throws Exception
Operation
Operation.run()
or Operation.call()
method should be implemented; not both.
Runs after wait-support, supposed to do actual operationrun
in class Operation
Exception
Operation.call()
public Object getResponse()
Operation
Operation.returnsResponse()
returned true
,
shortly after Operation.run()
returns.getResponse
in class Operation
public ExceptionAction onInvocationException(Throwable throwable)
Operation
onInvocationException
in class Operation
throwable
- Exception/Error thrown during
invocationpublic int getId()
IdentifiedDataSerializable
public String getCallerUuid()
getCallerUuid
in class Operation
public String getTxnId()
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 © 2018 Hazelcast, Inc.. All Rights Reserved.