Interface ClusterNode


public interface ClusterNode
Representation of a node in a cluster.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the network address of the node.
    id()
    Returns the node's local ID.
    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

      @Nullable @Nullable NodeMetadata nodeMetadata()
      Returns the metadata of the node.
      Returns:
      Metadata of the node.