Interface DataRedisConnectionDetails.Sentinel
- Enclosing interface:
DataRedisConnectionDetails
public static interface DataRedisConnectionDetails.Sentinel
Redis sentinel configuration.
- Since:
- 4.0.0
- Author:
- Moritz Halbritter, Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionintDatabase index used by the connection factory.Name of the Redis server.getNodes()List of nodes.Password for authenticating with sentinel(s).Login username for authenticating with sentinel(s).
-
Method Details
-
getDatabase
int getDatabase()Database index used by the connection factory.- Returns:
- the database index used by the connection factory
-
getMaster
-
getNodes
-
getUsername
-
getPassword
-