Interface RedisConnectionDetails.Sentinel
- Enclosing interface:
RedisConnectionDetails
public static interface RedisConnectionDetails.Sentinel
Redis sentinel configuration.
- Since:
- 4.0.0
- Author:
- Moritz Halbritter, Andy Wilkinson
-
Method Details
-
getDatabase
int getDatabase()Database index used by the connection factory.- Returns:
- the database index used by the connection factory
-
getMaster
-
getNodes
-
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
-
getSslBundle
-