Interface RedisCluster

    • Method Detail

      • getMasters

        Collection<RedisClusterMaster> getMasters()
        Returns collection of Redis Master nodes belongs to this Redis Cluster.
        Returns:
        Redis Master nodes
      • getMaster

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

        Address example: redis://127.0.0.1:9233

        Returns:
        Redis Master node
      • getSlaves

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

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

        Address example: redis://127.0.0.1:9233

        Returns:
        Redis Slave node