Interface RedisSentinelAsync

    • Method Detail

      • getMasterAddrAsync

        RFuture<InetSocketAddress> getMasterAddrAsync(String masterName)
        Returns network address of defined Redis master.
        Parameters:
        masterName - - name of master
        Returns:
        network address
      • getSentinelsAsync

        RFuture<List<Map<String,String>>> getSentinelsAsync(String masterName)
        Returns list of map containing info regarding Redis Sentinel server monitoring defined master.
        Parameters:
        masterName - - name of master
        Returns:
        list of Redis Sentinels
      • getMastersAsync

        RFuture<List<Map<String,String>>> getMastersAsync()
        Returns list of map containing info regarding Redis Master server monitored by current Redis Sentinel server.
        Returns:
        list of Redis Masters
      • getSlavesAsync

        RFuture<List<Map<String,String>>> getSlavesAsync(String masterName)
        Returns list of map containing info regarding Redis Slave server of defined master.
        Parameters:
        masterName - - name of master
        Returns:
        list of Redis Slaves
      • getMasterAsync

        RFuture<Map<String,String>> getMasterAsync(String masterName)
        Returns map containing info regarding defined Redis master.
        Parameters:
        masterName - - name of master
        Returns:
        map containing info
      • failoverAsync

        RFuture<Void> failoverAsync(String masterName)
        Starts failover process for defined Redis master
        Parameters:
        masterName - - name of master