public final class PromoteFromBackupOperation extends AbstractOperation implements PartitionAwareOperation, MigrationCycleOperation
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID| Constructor and Description | 
|---|
| PromoteFromBackupOperation(int currentReplicaIndex) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterRun() | 
| void | beforeRun() | 
| protected void | readInternal(ObjectDataInput in) | 
| boolean | returnsResponse() | 
| void | run() | 
| boolean | validatesTarget() | 
| protected void | writeInternal(ObjectDataOutput out) | 
getResponsegetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdpublic PromoteFromBackupOperation(int currentReplicaIndex)
public void beforeRun()
               throws Exception
beforeRun in class AbstractOperationExceptionpublic void afterRun()
              throws Exception
afterRun in class AbstractOperationExceptionpublic boolean returnsResponse()
returnsResponse in class AbstractOperationpublic boolean validatesTarget()
validatesTarget in class Operationprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AbstractOperationIOExceptionprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AbstractOperationIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.