Click or drag to resize

DefaultLoadBalancingPolicyDistance Method

Return the HostDistance for the provided host. This policy consider nodes in the local datacenter as Local and the rest is Ignored.

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