Interface RedisConnectionDetails.Standalone

Enclosing interface:
RedisConnectionDetails

public static interface RedisConnectionDetails.Standalone
Redis standalone configuration.
  • Method Details

    • getHost

      String getHost()
      Redis server host.
      Returns:
      the redis server host
    • getPort

      int getPort()
      Redis server port.
      Returns:
      the redis server port
    • getDatabase

      default int getDatabase()
      Database index used by the connection factory.
      Returns:
      the database index used by the connection factory
    • of

      static RedisConnectionDetails.Standalone of(String host, int port)
    • of

      static RedisConnectionDetails.Standalone of(String host, int port, int database)