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, RemotePropagatable<Operation>, PartitionAwareOperation, UrgentSystemOperation

public final class MigrationRequestOperation
extends BaseMigrationOperation


Field Summary
 
Fields inherited from class com.hazelcast.partition.impl.BaseMigrationOperation
migrationInfo, success
 
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
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, 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

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()
Specified by:
returnsResponse in interface RemotePropagatable<Operation>
Overrides:
returnsResponse in class BaseMigrationOperation


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