TokenAwarePolicy Methods |
The TokenAwarePolicy type exposes the following members.
Name | Description | |
---|---|---|
Distance |
Return the HostDistance for the provided host.
| |
Initialize | ||
NewQueryPlan |
Returns the hosts to use for a new query. The returned plan will first return replicas (whose HostDistance for the child policy is Local) for the query if it can determine them (i.e. mainly if IStatement.RoutingKey is not null). Following what it will return the plan of the child policy. |