Click or drag to resize

DCAwareRoundRobinPolicyUsedHostsPerRemoteDc Property

Note: This API is now obsolete.

Gets the number of hosts per remote datacenter that should be considered. This value is provided in the constructor.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
[ObsoleteAttribute("The usedHostsPerRemoteDc parameter will be removed in the next major release of the driver. DC failover should not be done in the driver, which does not have the necessary context to know what makes sense considering application semantics. See https://datastax-oss.atlassian.net/browse/CSHARP-722")]
public int UsedHostsPerRemoteDc { get; }

Property Value

Type: Int32
See Also