Class NodeIdentifier

java.lang.Object
com.couchbase.client.core.node.NodeIdentifier

@Deprecated public class NodeIdentifier extends Object
Deprecated.
In favor of NodeIdentifier
Uniquely identifies a node within the cluster, using the node's host and manager port from the default network.
  • Constructor Details Link icon

    • NodeIdentifier Link icon

      @Deprecated public NodeIdentifier(String canonicalHost, int canonicalManagerPort)
      Deprecated.
    • NodeIdentifier Link icon

      public NodeIdentifier(HostAndPort canonicalAddress, String hostForNetworkConnections)
      Deprecated.
  • Method Details Link icon

    • hostForNetworkConnections Link icon

      public String hostForNetworkConnections() throws NoSuchElementException
      Deprecated.
      Returns this node's host on the selected network.

      If the default network was selected, this is the same as the canonical host.

      Throws:
      NoSuchElementException - if this info is not available
    • asTopologyNodeIdentifier Link icon

      @Internal public NodeIdentifier asTopologyNodeIdentifier()
      Deprecated.
    • address Link icon

      public String address()
      Deprecated.
      Returns the node's host on the default network.
    • managerPort Link icon

      public int managerPort()
      Deprecated.
    • toString Link icon

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • equals Link icon

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object