Class Endpoint


  • public class Endpoint
    extends java.lang.Object
    A database node endpoint.
    • Constructor Summary

      Constructors 
      Constructor Description
      Endpoint​(java.lang.String hostname, int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHostname()
      Returns the endpoint's hostname.
      int getPort()
      Returns the endpoint's port.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Endpoint

        public Endpoint​(java.lang.String hostname,
                        int port)
    • Method Detail

      • getHostname

        public java.lang.String getHostname()
        Returns the endpoint's hostname.
      • getPort

        public int getPort()
        Returns the endpoint's port.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object