Click or drag to resize

DCAwareRoundRobinPolicyDistance Method

Return the HostDistance for the provided host.

This policy consider nodes in the local datacenter as Local. For each remote datacenter, it considers a configurable number of hosts as Remote and the rest is Ignored.

To configure how many host in each remote datacenter is considered Remote.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public HostDistance Distance(
	Host host
)

Parameters

host
Type: DseHost
the host of which to return the distance of.

Return Value

Type: HostDistance
the HostDistance to host.

Implements

ILoadBalancingPolicyDistance(Host)
See Also