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, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdpublic ReplicaSyncRequest()
public ReplicaSyncRequest(int partitionId,
int replicaIndex)
public void beforeRun()
throws Exception
public void afterRun()
throws Exception
public boolean returnsResponse()
returnsResponse in class Operationpublic Object getResponse()
getResponse in class Operationpublic boolean validatesTarget()
validatesTarget in class Operationpublic void logError(Throwable e)
Operationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class OperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class OperationIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.