public class MigrationInfo extends Object implements DataSerializable
Constructor and Description |
---|
MigrationInfo() |
MigrationInfo(int partitionId,
Address source,
Address destination) |
Modifier and Type | Method and Description |
---|---|
void |
doneProcessing() |
boolean |
equals(Object o) |
Address |
getDestination() |
Address |
getMaster() |
String |
getMasterUuid() |
int |
getPartitionId() |
Address |
getSource() |
int |
hashCode() |
void |
invalidate() |
boolean |
isProcessing() |
boolean |
isValid() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
setMaster(Address master) |
void |
setMasterUuid(String uuid) |
boolean |
startProcessing() |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public Address getSource()
public Address getDestination()
public int getPartitionId()
public void setMasterUuid(String uuid)
public String getMasterUuid()
public Address getMaster()
public void setMaster(Address master)
public boolean startProcessing()
public boolean isProcessing()
public void doneProcessing()
public boolean isValid()
public void invalidate()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.