public class VisorPartitionMap extends VisorDataTransferObject
Constructor and Description |
---|
VisorPartitionMap()
Default constructor.
|
VisorPartitionMap(GridDhtPartitionMap map) |
Modifier and Type | Method and Description |
---|---|
GridDhtPartitionState |
get(Integer part) |
Map<Integer,GridDhtPartitionState> |
getPartitions() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
int |
size() |
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, writeExternal
public VisorPartitionMap()
public VisorPartitionMap(GridDhtPartitionMap map)
map
- Partitions map.public Map<Integer,GridDhtPartitionState> getPartitions()
public int size()
public GridDhtPartitionState get(Integer part)
part
- Partition.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData
in class VisorDataTransferObject
out
- Output object to write data content.IOException
- If I/O errors occur.protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException
readExternalData
in class VisorDataTransferObject
protoVer
- Input object version.in
- Input object to load data content.IOException
- If I/O errors occur.ClassNotFoundException
- If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017