DataStax Enterprise C# Driver
DataStax Enterprise C# Driver
Namespaces
Dse
TokenAwarePolicy Class
TokenAwarePolicy Methods
Distance Method
Initialize Method
NewQueryPlan Method
TokenAwarePolicy
Distance Method
Return the HostDistance for the provided host.
Namespace:
Dse
Assembly:
Dse (in Dse.dll) Version: 2.6.0
Syntax
C#
Copy
public
HostDistance
Distance
(
Host
host
)
Parameters
host
Type:
Dse
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
Reference
TokenAwarePolicy Class
Dse Namespace
DataStax C# Drivers User Mailing List
© DataStax, All rights reserved.