Interface RedisConfiguration.ClusterConfiguration
- All Superinterfaces:
RedisConfiguration.WithAuthentication
,RedisConfiguration.WithPassword
- All Known Implementing Classes:
RedisClusterConfiguration
- Enclosing interface:
- RedisConfiguration
public static interface RedisConfiguration.ClusterConfiguration
extends RedisConfiguration.WithPassword
Configuration interface suitable for Redis cluster environments.
- Since:
- 2.1
- Author:
- Christoph Strobl
-
Method Summary
Methods inherited from interface org.springframework.data.redis.connection.RedisConfiguration.WithAuthentication
getPassword, getUsername, setPassword, setPassword, setPassword, setUsername
-
Method Details
-
getClusterNodes
Returns anCollections.unmodifiableSet(Set)
of cluster nodes.- Returns:
Set
of nodes. Never null.
-
getMaxRedirects
- Returns:
- max number of redirects to follow or null if not set.
-