com.hazelcast.partition
Class MigrationInfo
java.lang.Object
com.hazelcast.partition.MigrationInfo
- All Implemented Interfaces:
- DataSerializable
public class MigrationInfo
- extends Object
- implements DataSerializable
MigrationInfo
public MigrationInfo()
MigrationInfo
public MigrationInfo(int partitionId,
Address source,
Address destination)
getSource
public Address getSource()
getDestination
public Address getDestination()
getPartitionId
public int getPartitionId()
setMasterUuid
public void setMasterUuid(String uuid)
getMasterUuid
public String getMasterUuid()
getMaster
public Address getMaster()
setMaster
public void setMaster(Address master)
startProcessing
public boolean startProcessing()
isProcessing
public boolean isProcessing()
doneProcessing
public void doneProcessing()
isValid
public boolean isValid()
invalidate
public void invalidate()
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.