Interface RedisMasterSlave

    • Method Detail

      • getMaster

        RedisMaster getMaster()
        Returns Redis Master node belong to this Redis setup.
        Returns:
        Redis Master nodes
      • getMaster

        RedisMaster getMaster​(String address)
        Returns Redis Master node by defined address.

        Address example: redis://127.0.0.1:9233

        Returns:
        Redis Master node
      • getSlaves

        Collection<RedisSlave> getSlaves()
        Returns collection of Redis Slave nodes belongs to this Redis setup.
        Returns:
        Redis Slave nodes
      • getSlave

        RedisSlave getSlave​(String address)
        Returns Redis Slave node by defined address.

        Address example: redis://127.0.0.1:9233

        Returns:
        Redis Slave node