Click or drag to resize

DefaultLoadBalancingPolicy Constructor

Creates a new datacenter aware round robin policy given the name of the local datacenter.

The name of the local datacenter provided must be the local datacenter name as known by the server.

The policy created will ignore all remote hosts.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax
C#
public DefaultLoadBalancingPolicy(
	string localDc
)

Parameters

localDc
Type: SystemString
the name of the local datacenter (as known by Cassandra).
See Also