Interface RedisConnectionDetails.Sentinel

Enclosing interface:
RedisConnectionDetails

public static interface RedisConnectionDetails.Sentinel
Redis sentinel configuration.
  • Method Details

    • getDatabase

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

      String getMaster()
      Name of the Redis server.
      Returns:
      the name of the Redis server
    • getNodes

      List of nodes.
      Returns:
      the list of nodes
    • getUsername

      String getUsername()
      Login username for authenticating with sentinel(s).
      Returns:
      the login username for authenticating with sentinel(s) or null
    • getPassword

      String getPassword()
      Password for authenticating with sentinel(s).
      Returns:
      the password for authenticating with sentinel(s) or null