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