ClusterSlotRange class

Represents a range of hash slots and the nodes responsible for them.

Constructors

ClusterSlotRange({required int startSlot, required int endSlot, required ClusterNodeInfo master, List<ClusterNodeInfo> replicas = const []})

Properties

endSlot int
The end of the slot range (inclusive).
final
hashCode int
The hash code for this object.
no setterinherited
master ClusterNodeInfo
The master node responsible for this slot range.
final
replicas List<ClusterNodeInfo>
A list of replica nodes for this slot range.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startSlot int
The start of the slot range (inclusive).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited