public class RedisSentinelInstance extends Object implements RedisInstance, Serializable
RedisInstance.Role| Constructor and Description |
|---|
RedisSentinelInstance() |
RedisSentinelInstance(List<String> monitoredMasters)
Constructs a
RedisSentinelInstance |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getMonitoredMasters() |
RedisInstance.Role |
getRole() |
void |
setMonitoredMasters(List<String> monitoredMasters) |
String |
toString() |
public RedisSentinelInstance()
public RedisSentinelInstance(List<String> monitoredMasters)
RedisSentinelInstancemonitoredMasters - list of monitored masters, must not be null but may be emptypublic RedisInstance.Role getRole()
getRole in interface RedisInstanceRedisInstance.Role.SENTINELpublic List<String> getMonitoredMasters()
Copyright © 2019 lettuce.io. All rights reserved.