DseLoadBalancingPolicy Class |
For most executions, the query plan will be determined by the child load balancing policy. Except for some cases, like graph analytics queries, for which it uses the preferred analytics graph server previously obtained by driver as first host in the query plan.
Namespace: Dse
public class DseLoadBalancingPolicy : ILoadBalancingPolicy
The DseLoadBalancingPolicy type exposes the following members.
Name | Description | |
---|---|---|
DseLoadBalancingPolicy(String) |
Creates a new instance of DseLoadBalancingPolicy given the name of the local datacenter.
| |
DseLoadBalancingPolicy(ILoadBalancingPolicy) |
Creates a new instance of DseLoadBalancingPolicy wrapping the provided child policy.
| |
DseLoadBalancingPolicy(String, Int32) | Obsolete.
Creates a new instance of DseLoadBalancingPolicy given the name of the local datacenter and
the amount of host per remote datacenter to use for failover for the local hosts.
|
Name | Description | |
---|---|---|
CreateDefault |
Creates the default load balancing policy, using
DefaultLoadBalancingPolicy as child policy.
| |
CreateDefault(String) |
Creates the default load balancing policy, using
NewDefaultLoadBalancingPolicy(String) to create the child policy.
| |
Distance |
Returns the distance as determined by the child policy.
| |
Initialize |
Initializes the policy.
| |
NewQueryPlan |
Returns the hosts to used for a query.
|