Class RedissonClusterNodes

    • Method Detail

      • getMaster

        public  address)
        Description copied from interface: RedisCluster
        Returns Redis Master node by defined address.

        Address example: redis://127.0.0.1:9233

        Specified by:
        getMaster in interface RedisCluster
        Returns:
        Redis Master node
      • getSlaves

        public <RedisClusterSlave> getSlaves()
        Description copied from interface: RedisCluster
        Returns collection of Redis Slave nodes belongs to this Redis Cluster.
        Specified by:
        getSlaves in interface RedisCluster
        Returns:
        Redis Slave nodes
      • getSlave

        public  address)
        Description copied from interface: RedisCluster
        Returns Redis Slave node by defined address.

        Address example: redis://127.0.0.1:9233

        Specified by:
        getSlave in interface RedisCluster
        Returns:
        Redis Slave node