We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ee6aa commit a484a4cCopy full SHA for a484a4c
scylla/src/transport/execution_profile.rs
@@ -486,6 +486,10 @@ impl ExecutionProfileHandle {
486
self.0 .0.store(profile.0)
487
}
488
489
+ /// Get the load balancing policy associated with this execution profile.
490
+ ///
491
+ /// This may be useful if one wants to construct a new load balancing policy that is based on the one associated
492
+ /// with this execution profile.
493
pub fn load_balancing_policy(&self) -> Arc<dyn LoadBalancingPolicy> {
494
self.0 .0.load().load_balancing_policy.clone()
495
0 commit comments