public class BaselineNode extends VisorDataTransferObject
BaselineNode.| Modifier and Type | Class and Description |
|---|---|
static class |
BaselineNode.ResolvedAddresses
Simple data class for storing (hostname, address) pairs
|
| Constructor and Description |
|---|
BaselineNode()
Default constructor.
|
BaselineNode(BaselineNode node,
@NotNull Collection<BaselineNode.ResolvedAddresses> resolvedInetAddrs)
Create data transfer object for baseline node.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull Collection<BaselineNode.ResolvedAddresses> |
getAddrs() |
Map<String,Object> |
getAttributes() |
String |
getConsistentId() |
@Nullable Long |
getOrder() |
byte |
getProtocolVersion() |
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.
|
readExternal, toList, toSet, writeExternalpublic BaselineNode()
public BaselineNode(BaselineNode node, @NotNull @NotNull Collection<BaselineNode.ResolvedAddresses> resolvedInetAddrs)
node - Baseline node.resolvedInetAddrs - List of resolved ip, hostnames pairs.public byte getProtocolVersion()
getProtocolVersion in class VisorDataTransferObjectpublic String getConsistentId()
@Nullable public @Nullable Long getOrder()
@NotNull public @NotNull Collection<BaselineNode.ResolvedAddresses> getAddrs()
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.16.0 Release Date : December 15 2023