Class Endpoint

    • Constructor Detail

      • Endpoint

        public Endpoint()
    • Method Detail

      • setAddress

        public void setAddress​(String address)

        The DNS hostname of the cache node.

        Parameters:
        address - The DNS hostname of the cache node.
      • getAddress

        public String getAddress()

        The DNS hostname of the cache node.

        Returns:
        The DNS hostname of the cache node.
      • withAddress

        public Endpoint withAddress​(String address)

        The DNS hostname of the cache node.

        Parameters:
        address - The DNS hostname of the cache node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPort

        public void setPort​(Integer port)

        The port number that the cache engine is listening on.

        Parameters:
        port - The port number that the cache engine is listening on.
      • getPort

        public Integer getPort()

        The port number that the cache engine is listening on.

        Returns:
        The port number that the cache engine is listening on.
      • withPort

        public Endpoint withPort​(Integer port)

        The port number that the cache engine is listening on.

        Parameters:
        port - The port number that the cache engine is listening on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object