public class PromotionCommitOperation extends AbstractOperation implements MigrationCycleOperation
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, isUrgent, logError, onExecutionFailure, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeData
public 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 Operation
public Object getResponse()
getResponse
in class Operation
public String getServiceName()
getServiceName
in class Operation
public ExceptionAction onInvocationException(Throwable throwable)
Operation
onInvocationException
in class Operation
throwable
- Exception/Error thrown during invocationprotected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class Operation
IOException
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class Operation
IOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.