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
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 Details
-
parse
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>
-