public final class MigrationOperation extends BaseMigrationOperation
migrationInfo, success
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
MigrationOperation() |
MigrationOperation(MigrationInfo migrationInfo,
long[] replicaVersions,
Collection<Operation> tasks) |
Modifier and Type | Method and Description |
---|---|
Object |
getResponse() |
void |
onExecutionFailure(Throwable e)
Called when an Exception/Error is thrown during operation execution.
|
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
String |
toString() |
protected void |
writeInternal(ObjectDataOutput out) |
getMigrationInfo, onInvocationException, validatesTarget
afterRun, beforeRun, returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
public MigrationOperation()
public MigrationOperation(MigrationInfo migrationInfo, long[] replicaVersions, Collection<Operation> tasks)
public Object getResponse()
getResponse
in class BaseMigrationOperation
public void onExecutionFailure(Throwable e)
Operation
onExecutionFailure
in class Operation
e
- Exception/Error thrown during operation executionprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class BaseMigrationOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class BaseMigrationOperation
IOException
public String toString()
toString
in class BaseMigrationOperation
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.