clusterSlots abstract method

Future<List<ClusterSlotRange>> clusterSlots()

Fetches the cluster topology information from the server.

Returns a list of ClusterSlotRange objects, describing which slots are mapped to which master and replica nodes.

Implementation

Future<List<ClusterSlotRange>> clusterSlots();