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
IOException
public void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(DataInput in) throws IOException
readData
in interface DataSerializable
IOException
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
setHazelcastInstance
in interface HazelcastInstanceAware
Copyright © 2013 Hazelcast, Inc.. All rights reserved.