public class ReplicaSyncResponse extends Operation implements PartitionAwareOperation, BackupOperation, UrgentSystemOperation
Constructor and Description |
---|
ReplicaSyncResponse() |
ReplicaSyncResponse(byte[] data,
long[] replicaVersions,
boolean compressed) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun() |
void |
beforeRun() |
Object |
getResponse() |
void |
logError(Throwable e) |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
String |
toString() |
boolean |
validatesTarget() |
protected void |
writeInternal(ObjectDataOutput out) |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getStartTime, getWaitTimeout, isUrgent, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
public ReplicaSyncResponse()
public ReplicaSyncResponse(byte[] data, long[] replicaVersions, boolean compressed)
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 boolean validatesTarget()
validatesTarget
in class Operation
public void logError(Throwable e)
logError
in interface RemotePropagatable<Operation>
logError
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.