Was this page helpful?
DefaultLoadBalancingPolicy¶
policies/loadBalancing~DefaultLoadBalancingPolicy()
This load balancing policy replicates the behavior of the Rust Driver Default Load Balancing Policy.
It can be configured to be datacenter-aware, rack-aware and token-aware. When the policy is datacenter-aware, you can configure whether to allow datacenter failover (sending query to a node from a remote datacenter).
Constructor¶
new DefaultLoadBalancingPolicy()
Methods¶
getOptions()
Gets an associative array containing the policy options.