Expand description
Load balancing configurations
Session can use any load balancing policy which implements the LoadBalancingPolicy trait
See the book for more information
Structs§
- Default
Policy - The default load balancing policy.
- Default
Policy Builder - The intended way to instantiate the DefaultPolicy.
- Latency
Awareness Builder - The builder of LatencyAwareness module of DefaultPolicy.
- Plan
- The list of targets constituting the query plan. Target here is a pair
(NodeRef<'a>, Shard). - Routing
Info - Represents info about statement that can be used by load balancing policies.
Traits§
- Load
Balancing Policy - Policy that decides which nodes and shards to contact for each request.
Type Aliases§
- Fallback
Plan - The fallback list of nodes in the request plan.