Click or drag to resize

RoundRobinPolicyDistance Method

Return the HostDistance for the provided host.

This policy consider all nodes as local. This is generally the right thing to do in a single datacenter deployment. If you use multiple datacenter, see DCAwareRoundRobinPolicy instead.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.6.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