public class MigrationTask extends Object implements Callable<Boolean>, DataSerializable, HazelcastInstanceAware
| Constructor and Description |
|---|
MigrationTask() |
MigrationTask(int partitionId,
CostAwareRecordList costAwareRecordList,
int replicaIndex,
Address from,
boolean compress) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
call() |
void |
readData(DataInput in) |
void |
setHazelcastInstance(HazelcastInstance hazelcastInstance) |
void |
writeData(DataOutput out) |
public MigrationTask()
public MigrationTask(int partitionId,
CostAwareRecordList costAwareRecordList,
int replicaIndex,
Address from,
boolean compress)
throws IOException
IOExceptionpublic void writeData(DataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic void readData(DataInput in) throws IOException
readData in interface DataSerializableIOExceptionpublic void setHazelcastInstance(HazelcastInstance hazelcastInstance)
setHazelcastInstance in interface HazelcastInstanceAwareCopyright .0; 2008-2011 Hazel Ltd. All Rights Reserved.