Package org.redisson.redisnode
Class RedissonSentinelMasterSlaveNodes
java.lang.Object
org.redisson.redisnode.RedissonBaseNodes
org.redisson.redisnode.RedissonMasterSlaveNodes
org.redisson.redisnode.RedissonSentinelMasterSlaveNodes
- All Implemented Interfaces:
BaseRedisNodes,RedisMasterSlave,RedisSentinelMasterSlave
public class RedissonSentinelMasterSlaveNodes
extends RedissonMasterSlaveNodes
implements RedisSentinelMasterSlave
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorsConstructorDescriptionRedissonSentinelMasterSlaveNodes(ConnectionManager connectionManager, CommandAsyncExecutor commandExecutor) -
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 class org.redisson.redisnode.RedissonMasterSlaveNodes
getMaster, getMaster, getSlave, getSlavesMethods inherited from class org.redisson.redisnode.RedissonBaseNodes
getNode, getNodes, getNodes, pingAll, pingAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.redisson.api.redisnode.BaseRedisNodes
pingAll, pingAllMethods inherited from interface org.redisson.api.redisnode.RedisMasterSlave
getMaster, getMaster, getSlave, getSlaves
-
Constructor Details
-
RedissonSentinelMasterSlaveNodes
public RedissonSentinelMasterSlaveNodes(ConnectionManager connectionManager, CommandAsyncExecutor commandExecutor)
-
-
Method Details
-
getSentinels
Description copied from interface:RedisSentinelMasterSlaveReturns collection of Redis Sentinel nodes belongs to this Redis setup.- Specified by:
getSentinelsin interfaceRedisSentinelMasterSlave- Returns:
- Redis Sentinel nodes
-
getSentinel
Description copied from interface:RedisSentinelMasterSlaveReturns Redis Sentinel node by defined address.Address example:
redis://127.0.0.1:9233- Specified by:
getSentinelin interfaceRedisSentinelMasterSlave- Returns:
- Redis Sentinel node
-