Interface ConnectionPoint

  • All Known Implementing Classes:
    RedisURI

    public interface ConnectionPoint
    Interface for a connection point described with a host and port or socket.
    Author:
    Mark Paluch
    • Method Detail

      • getHost

        String getHost()
        Returns the host that should represent the hostname or IPv4/IPv6 literal.
        Returns:
        the hostname/IP address
      • getPort

        int getPort()
        Get the current port number.
        Returns:
        the port number
      • getSocket

        String getSocket()
        Get the socket path.
        Returns:
        path to a Unix Domain Socket