Click or drag to resize

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
C#
public static ILoadBalancingPolicy NewDefaultLoadBalancingPolicy(
	string localDc
)

Parameters

localDc
Type: SystemString

Return Value

Type: ILoadBalancingPolicy
See Also