Package org.apache.ignite.network
Interface ClusterNode
public interface ClusterNode
Representation of a node in a cluster.
-
Method Summary
Modifier and TypeMethodDescriptionaddress()
Returns the network address of the node.id()
Returns the node's local ID.name()
Returns the unique name (consistent ID) of the node in the cluster.@Nullable NodeMetadata
Returns the metadata of the node.
-
Method Details
-
id
UUID id()Returns the node's local ID.- Returns:
- Node's local ID.
-
name
String name()Returns the unique name (consistent ID) of the node in the cluster. Does not change between restarts.- Returns:
- Unique name of a cluster member.
-
address
NetworkAddress address()Returns the network address of the node.- Returns:
- Network address of the node.
-
nodeMetadata
Returns the metadata of the node.- Returns:
- Metadata of the node.
-