Click or drag to resize

TokenAwarePolicyDistance Method

Return the HostDistance for the provided host.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.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 as returned by the wrapped policy.

Implements

ILoadBalancingPolicyDistance(Host)
See Also