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: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public HostDistance Distance(
	Host host
)

Parameters

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

Return Value

Type: HostDistance
the HostDistance to host.

Implements

ILoadBalancingPolicyDistance(Host)
See Also