Click or drag to resize
DCAwareRoundRobinPolicy Constructor (String)
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 Cassandra.

The policy created will ignore all remote hosts. In other words, this is equivalent to new DCAwareRoundRobinPolicy(localDc, 0).

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

Parameters

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