Package org.redisson.api.redisnode
Interface RedisSentinelMasterSlave
-
- All Superinterfaces:
BaseRedisNodes,RedisMasterSlave
- All Known Implementing Classes:
RedissonSentinelMasterSlaveNodes
public interface RedisSentinelMasterSlave extends RedisMasterSlave
Redis Sentinel Master Slave nodes API interface- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RedisSentinelgetSentinel(String address)Returns Redis Sentinel node by defined address.Collection<RedisSentinel>getSentinels()Returns collection of Redis Sentinel nodes belongs to this Redis setup.-
Methods inherited from interface org.redisson.api.redisnode.BaseRedisNodes
pingAll, pingAll
-
Methods inherited from interface org.redisson.api.redisnode.RedisMasterSlave
getMaster, getMaster, getSlave, getSlaves
-
-
-
-
Method Detail
-
getSentinels
Collection<RedisSentinel> getSentinels()
Returns collection of Redis Sentinel nodes belongs to this Redis setup.- Returns:
- Redis Sentinel nodes
-
getSentinel
RedisSentinel getSentinel(String address)
Returns Redis Sentinel node by defined address.Address example:
redis://127.0.0.1:9233- Returns:
- Redis Sentinel node
-
-