Package org.redisson.api.redisnode
Interface RedisSentinelMasterSlave
- All Superinterfaces:
BaseRedisNodes
,RedisMasterSlave
- All Known Implementing Classes:
RedissonSentinelMasterSlaveNodes
Redis Sentinel Master Slave nodes API interface
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptiongetSentinel
(String address) Returns Redis Sentinel node by defined address.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 Details
-
getSentinels
Collection<RedisSentinel> getSentinels()Returns collection of Redis Sentinel nodes belongs to this Redis setup.- Returns:
- Redis Sentinel nodes
-
getSentinel
Returns Redis Sentinel node by defined address.Address example:
redis://127.0.0.1:9233
- Returns:
- Redis Sentinel node
-