Interface RedisSentinel

    • Method Detail

      • getMasterAddr

        RedisURI getMasterAddr​(String masterName)
        Returns network address of defined Redis master.
        Parameters:
        masterName - - name of master
        Returns:
        network address
      • getSentinels

        List<Map<String,​String>> getSentinels​(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
      • getMasters

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

        List<Map<String,​String>> getSlaves​(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
      • getMaster

        Map<String,​String> getMaster​(String masterName)
        Returns map containing info regarding defined Redis master.
        Parameters:
        masterName - - name of master
        Returns:
        map containing info
      • failover

        void failover​(String masterName)
        Starts failover process for defined Redis master
        Parameters:
        masterName - - name of master