Class ClusterSlotsParser


  • public class ClusterSlotsParser
    extends Object
    Parser for Redis CLUSTER SLOTS command output.
    Since:
    3.0
    Author:
    Mark Paluch
    • Method Detail

      • parse

        public static List<ClusterSlotRange> parse​(List<?> clusterSlotsOutput)
        Parse the output of the Redis CLUSTER SLOTS command and convert it to a list of ClusterSlotRange
        Parameters:
        clusterSlotsOutput - output of CLUSTER SLOTS command
        Returns:
        List>ClusterSlotRange>