BuilderWithLoadBalancingPolicy Method |
Configure the load balancing policy to use for the new cluster.
If no load balancing policy is set through this method, DefaultLoadBalancingPolicy will be used instead.
To specify the local datacenter with the default load balancing policy, use the following method to create a new policy instance: NewDefaultLoadBalancingPolicy(String).
Namespace: Dse
public Builder WithLoadBalancingPolicy( ILoadBalancingPolicy policy )