Module redis::cluster_routing
source · Expand description
Routing information for cluster commands.
Structs§
- Defines the slot and the
SlotAddr
to which a command should be sent
Enums§
- Numerical aggreagting operators.
- Logical bitwise aggregating operators.
- Defines which collection of nodes should receive a request
- Policy defining how to combine multiple responses into one.
- Defines whether a request should be routed to a single node, or multiple ones.
- Defines which single node should receive a request.
- What type of node should a request be routed to.
Traits§
- Objects that implement this trait define a request that can be routed by a cluster client to different nodes in the cluster.
Functions§
- Takes a routable and an iterator of indices, which is assued to be created from
MultipleNodeRoutingInfo::MultiSlot
, and returns a command with the arguments matching the indices. - Returns the slot that matches
key
.