com.hazelcast.partition.impl
Class MigrationOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.spi.AbstractOperation
          extended by com.hazelcast.partition.impl.BaseMigrationOperation
              extended by com.hazelcast.partition.impl.MigrationOperation
All Implemented Interfaces:
DataSerializable, MigrationCycleOperation, RemotePropagatable<Operation>, PartitionAwareOperation, UrgentSystemOperation

public final class MigrationOperation
extends BaseMigrationOperation


Field Summary
 
Fields inherited from class com.hazelcast.partition.impl.BaseMigrationOperation
migrationInfo, success
 
Constructor Summary
MigrationOperation()
           
MigrationOperation(MigrationInfo migrationInfo, long[] replicaVersions, Collection<Operation> tasks)
           
 
Method Summary
 Object getResponse()
           
protected  void readInternal(ObjectDataInput in)
           
 void run()
           
 String toString()
           
protected  void writeInternal(ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.partition.impl.BaseMigrationOperation
onException, returnsResponse, validatesTarget
 
Methods inherited from class com.hazelcast.spi.AbstractOperation
afterRun, beforeRun
 
Methods inherited from class com.hazelcast.spi.Operation
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.spi.PartitionAwareOperation
getPartitionId
 

Constructor Detail

MigrationOperation

public MigrationOperation()

MigrationOperation

public MigrationOperation(MigrationInfo migrationInfo,
                          long[] replicaVersions,
                          Collection<Operation> tasks)
Method Detail

getResponse

public Object getResponse()
Overrides:
getResponse in class BaseMigrationOperation

run

public void run()
         throws Exception
Specified by:
run in class Operation
Throws:
Exception

writeInternal

protected void writeInternal(ObjectDataOutput out)
                      throws IOException
Overrides:
writeInternal in class BaseMigrationOperation
Throws:
IOException

readInternal

protected void readInternal(ObjectDataInput in)
                     throws IOException
Overrides:
readInternal in class BaseMigrationOperation
Throws:
IOException

toString

public String toString()
Overrides:
toString in class BaseMigrationOperation


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.