public final class ReplicaSyncRequest extends Operation implements PartitionAwareOperation, MigrationCycleOperation
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
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)
Logs Exception/Error thrown during operation execution.
|
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
boolean |
validatesTarget() |
protected void |
writeInternal(ObjectDataOutput out) |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, 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 class Operation
public Object getResponse()
getResponse
in class Operation
public boolean validatesTarget()
validatesTarget
in class Operation
public void logError(Throwable e)
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 © 2016 Hazelcast, Inc.. All Rights Reserved.