Session
can use any load balancing policy which implements the LoadBalancingPolicy
trait
See the book for more information
- DefaultPolicy
- The default load balancing policy.
- DefaultPolicyBuilder
- The intended way to instantiate the DefaultPolicy.
- LatencyAwarenessBuilder
- The builder of LatencyAwareness module of DefaultPolicy.
- Plan
- The list of targets constituting the query plan. Target here is a pair
(NodeRef<'a>, Shard)
. - RoutingInfo
- Represents info about statement that can be used by load balancing policies.
- LoadBalancingPolicy
- Policy that decides which nodes and shards to contact for each request.
- FallbackPlan
- The fallback list of nodes in the request plan.