Class ClusterSlotsParser
- java.lang.Object
-
- io.lettuce.core.cluster.models.slots.ClusterSlotsParser
-
public class ClusterSlotsParser extends Object
Parser for Redis CLUSTER SLOTS command output.- Since:
- 3.0
- Author:
- Mark Paluch
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<ClusterSlotRange>
parse(List<?> clusterSlotsOutput)
Parse the output of the Redis CLUSTER SLOTS command and convert it to a list ofClusterSlotRange
-
-
-
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 ofClusterSlotRange
- Parameters:
clusterSlotsOutput
- output of CLUSTER SLOTS command- Returns:
- List>ClusterSlotRange>
-
-