com.hazelcast.transaction.impl
Class BeginTxBackupOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.transaction.impl.BeginTxBackupOperation
All Implemented Interfaces:
DataSerializable

public final class BeginTxBackupOperation
extends Operation


Field Summary
 
Fields inherited from class com.hazelcast.spi.Operation
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
 
Constructor Summary
BeginTxBackupOperation()
           
BeginTxBackupOperation(String callerUuid, String txnId)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.hazelcast.spi.Operation
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeginTxBackupOperation

public BeginTxBackupOperation()

BeginTxBackupOperation

public BeginTxBackupOperation(String callerUuid,
                              String txnId)
Method Detail

getServiceName

public String getServiceName()
Overrides:
getServiceName in class Operation

beforeRun

public void beforeRun()
               throws Exception
Specified by:
beforeRun in class Operation
Throws:
Exception

run

public void run()
         throws Exception
Specified by:
run in class Operation
Throws:
Exception

afterRun

public void afterRun()
              throws Exception
Specified by:
afterRun in class Operation
Throws:
Exception

returnsResponse

public boolean returnsResponse()
Specified by:
returnsResponse in class Operation

getResponse

public Object getResponse()
Specified by:
getResponse in class Operation

onException

public ExceptionAction onException(Throwable throwable)
Overrides:
onException in class Operation

writeInternal

protected void writeInternal(ObjectDataOutput out)
                      throws IOException
Specified by:
writeInternal in class Operation
Throws:
IOException

readInternal

protected void readInternal(ObjectDataInput in)
                     throws IOException
Specified by:
readInternal in class Operation
Throws:
IOException


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.