DseLoadBalancingPolicy Constructor (String, Int32) |
Creates a new instance of
DseLoadBalancingPolicy given the name of the local datacenter and
the amount of host per remote datacenter to use for failover for the local hosts.
Namespace: Dse.PoliciesAssembly: Dse (in Dse.dll) Version: 1.0.0.0
Syntax public DseLoadBalancingPolicy(
string localDc,
int usedHostsPerRemoteDc = 0
)
Parameters
- localDc
- Type: SystemString
The name of the local datacenter (case-sensitive) - usedHostsPerRemoteDc (Optional)
- Type: SystemInt32
The amount of host per remote datacenter that the policy should yield in a new query plan after the local
nodes.
See Also