DataStax C# Driver for Apache Cassandra
DataStax C# Driver for Apache Cassandra
Namespaces
Cassandra
TokenAwarePolicy Class
TokenAwarePolicy Methods
Distance Method
Initialize Method
NewQueryPlan Method
TokenAwarePolicy
Distance Method
Return the HostDistance for the provided host.
Namespace:
Cassandra
Assembly:
Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
Copy
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
Reference
TokenAwarePolicy Class
Cassandra Namespace
DataStax C# Driver for Apache Cassandra User Mailing List
© 2015 DataStax, All rights reserved.