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, getSlavesgetNode, getNodes, getNodes, pingAll, pingAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaster, getMaster, getSlave, getSlavespingAll, pingAllpublic RedissonSentinelMasterSlaveNodes(ConnectionManager connectionManager)
public Collection<RedisSentinel> getSentinels()
RedisSentinelMasterSlavegetSentinels in interface RedisSentinelMasterSlavepublic RedisSentinel getSentinel(String address)
RedisSentinelMasterSlave
Address example: redis://127.0.0.1:9233
getSentinel in interface RedisSentinelMasterSlaveCopyright © 2014–2020 Redisson. All rights reserved.