com.hazelcast.partition.impl
Class MigrationRequestOperation

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.MigrationRequestOperation
All Implemented Interfaces:
DataSerializable, MigrationCycleOperation, PartitionAwareOperation, UrgentSystemOperation

public final class MigrationRequestOperation
extends BaseMigrationOperation


Field Summary
 
Fields inherited from class com.hazelcast.partition.impl.BaseMigrationOperation
migrationInfo, success
 
Fields inherited from class com.hazelcast.spi.Operation
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
 
Constructor Summary
MigrationRequestOperation()
           
MigrationRequestOperation(MigrationInfo migrationInfo)
           
 
Method Summary
 Object getResponse()
           
 ExceptionAction onException(Throwable throwable)
           
 boolean returnsResponse()
           
 void run()
           
 
Methods inherited from class com.hazelcast.partition.impl.BaseMigrationOperation
getMigrationInfo, readInternal, toString, validatesTarget, writeInternal
 
Methods inherited from class com.hazelcast.spi.AbstractOperation
afterRun, beforeRun
 
Methods inherited from class com.hazelcast.spi.Operation
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, readData, setCallerUuid, 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

MigrationRequestOperation

public MigrationRequestOperation()

MigrationRequestOperation

public MigrationRequestOperation(MigrationInfo migrationInfo)
Method Detail

run

public void run()
Specified by:
run in class Operation

onException

public ExceptionAction onException(Throwable throwable)
Overrides:
onException in class BaseMigrationOperation

getResponse

public Object getResponse()
Overrides:
getResponse in class BaseMigrationOperation

returnsResponse

public boolean returnsResponse()
Overrides:
returnsResponse in class AbstractOperation


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