public class VisorClusterNode extends VisorDataTransferObject
ClusterNode.V1, V2, V3| Constructor and Description |
|---|
VisorClusterNode()
Default constructor.
|
VisorClusterNode(ClusterNode node)
Create data transfer object for baseline node.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAddresses()
Get cluster node addresses.
|
Map<String,Object> |
getAttributes()
Get cluster node attributes.
|
String |
getConsistentId()
Get cluster node consistent id.
|
Collection<String> |
getHostNames()
Get cluster node host names.
|
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorClusterNode()
public VisorClusterNode(ClusterNode node)
node - Baseline node.public String getConsistentId()
public Map<String,Object> getAttributes()
public Collection<String> getAddresses()
public Collection<String> getHostNames()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - 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 VisorDataTransferObjectprotoVer - 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 Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019