Module lettuce.core

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 Summary

    Modifier and Type Method Description
    String getHost()
    Returns the host that should represent the hostname or IPv4/IPv6 literal.
    int getPort()
    Get the current port number.
    String getSocket()
    Get the socket path.
  • Method Details

    • 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