PoliciesNewDefaultLoadBalancingPolicy Method |
Creates a new instance of the default load balancing policy with the provided local datacenter.
This is equivalent to:
new DefaultLoadBalancingPolicy(new TokenAwarePolicy(new DCAwareRoundRobinPolicy(localDc)))
Namespace:
Cassandra
Assembly:
Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax public static ILoadBalancingPolicy NewDefaultLoadBalancingPolicy(
string localDc
)
Parameters
- localDc
- Type: SystemString
Return Value
Type:
ILoadBalancingPolicySee Also