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 Details

    • 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