com.hazelcast.partition.impl
Class ReplicaSyncResponse

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.partition.impl.ReplicaSyncResponse
All Implemented Interfaces:
DataSerializable, BackupOperation, RemotePropagatable<Operation>, PartitionAwareOperation, UrgentSystemOperation

public class ReplicaSyncResponse
extends Operation
implements PartitionAwareOperation, BackupOperation, UrgentSystemOperation


Constructor Summary
ReplicaSyncResponse()
           
ReplicaSyncResponse(List<Operation> data, long[] replicaVersions)
           
 
Method Summary
 void afterRun()
           
 void beforeRun()
           
 Object getResponse()
           
 String getServiceName()
           
 void logError(Throwable e)
           
protected  void readInternal(ObjectDataInput in)
           
 boolean returnsResponse()
           
 void run()
           
 String toString()
           
 boolean validatesTarget()
           
protected  void writeInternal(ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.spi.Operation
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.spi.PartitionAwareOperation
getPartitionId
 

Constructor Detail

ReplicaSyncResponse

public ReplicaSyncResponse()

ReplicaSyncResponse

public ReplicaSyncResponse(List<Operation> data,
                           long[] replicaVersions)
Method Detail

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 interface RemotePropagatable<Operation>
Specified by:
returnsResponse in class Operation

getResponse

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

validatesTarget

public boolean validatesTarget()
Overrides:
validatesTarget in class Operation

getServiceName

public String getServiceName()
Overrides:
getServiceName in class Operation

logError

public void logError(Throwable e)
Specified by:
logError in interface RemotePropagatable<Operation>
Overrides:
logError 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

toString

public String toString()
Overrides:
toString in class Operation


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