Click or drag to resize

TokenAwarePolicy.Distance Method

Return the HostDistance for the provided host.

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

Parameters

host
Type: Cassandra.Host
the host of which to return the distance of.

Return Value

Type: HostDistance
the HostDistance to host as returned by the wrapped policy.

Implements

ILoadBalancingPolicy.Distance(Host)
See Also