Interface RedisConfiguration.WithDomainSocket

All Known Subinterfaces:
RedisConfiguration.DomainSocketConfiguration
All Known Implementing Classes:
RedisSocketConfiguration
Enclosing interface:
RedisConfiguration

public static interface RedisConfiguration.WithDomainSocket
RedisConfiguration part suitable for configurations that use native domain sockets for connecting.
Since:
2.1
Author:
Christoph Strobl
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the domain socket.
    void
    setSocket(String socket)
    Set the socket.
  • Method Details

    • setSocket

      void setSocket(String socket)
      Set the socket.
      Parameters:
      socket - path to the Redis socket. Must not be null.
    • getSocket

      String getSocket()
      Get the domain socket.
      Returns:
      path to the Redis socket.