public class PromotionCommitOperation extends AbstractOperation implements MigrationCycleOperation
BITMASK_LOAD_ALL_WITH_USER_SUPPLIED_KEYS, GENERIC_PARTITION_ID| Constructor and Description |
|---|
PromotionCommitOperation() |
PromotionCommitOperation(PartitionRuntimeState partitionState,
Collection<MigrationInfo> promotions,
String expectedMemberUuid) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
void |
beforeRun() |
Object |
getResponse() |
String |
getServiceName() |
ExceptionAction |
onInvocationException(Throwable throwable)
Called when an Exception/Error is thrown
during an invocation.
|
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isFlagSet, isUrgent, logError, onExecutionFailure, onSetCallId, readData, sendResponse, setCallerUuid, setFlag, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeDatapublic PromotionCommitOperation()
public PromotionCommitOperation(PartitionRuntimeState partitionState, Collection<MigrationInfo> promotions, String expectedMemberUuid)
public void beforeRun()
throws Exception
public void afterRun()
throws Exception
public boolean returnsResponse()
returnsResponse in class Operationpublic Object getResponse()
getResponse in class Operationpublic String getServiceName()
getServiceName in class Operationpublic ExceptionAction onInvocationException(Throwable throwable)
OperationonInvocationException in class Operationthrowable - Exception/Error thrown during invocationprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class OperationIOExceptionprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class OperationIOExceptionCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.