public final class ReplicaSyncRequest extends Operation implements PartitionAwareOperation, MigrationCycleOperation
Constructor and Description |
---|
ReplicaSyncRequest() |
ReplicaSyncRequest(int partitionId,
int replicaIndex) |
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, 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 ReplicaSyncRequest()
public ReplicaSyncRequest(int partitionId, int replicaIndex)
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 © 2014 Hazelcast, Inc.. All Rights Reserved.