public class RedissonSentinelMasterSlaveNodes extends RedissonMasterSlaveNodes implements RedisSentinelMasterSlave
Constructor and Description |
---|
RedissonSentinelMasterSlaveNodes(ConnectionManager connectionManager) |
Modifier and Type | Method and Description |
---|---|
RedisSentinel |
getSentinel(String address)
Returns Redis Sentinel node by defined address.
|
Collection<RedisSentinel> |
getSentinels()
Returns collection of Redis Sentinel nodes belongs to this Redis setup.
|
getMaster, getMaster, getSlave, getSlaves
getNode, getNodes, getNodes, pingAll, pingAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaster, getMaster, getSlave, getSlaves
pingAll, pingAll
public RedissonSentinelMasterSlaveNodes(ConnectionManager connectionManager)
public Collection<RedisSentinel> getSentinels()
RedisSentinelMasterSlave
getSentinels
in interface RedisSentinelMasterSlave
public RedisSentinel getSentinel(String address)
RedisSentinelMasterSlave
Address example: redis://127.0.0.1:9233
getSentinel
in interface RedisSentinelMasterSlave
Copyright © 2014–2020 Redisson. All rights reserved.