Click or drag to resize

BuilderWithLoadBalancingPolicy Method

Configure the load balancing policy to use for the new cluster.

If no load balancing policy is set through this method, DefaultLoadBalancingPolicy will be used instead.

To specify the local datacenter with the default load balancing policy, use the following method to create a new policy instance: NewDefaultLoadBalancingPolicy(String).

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public Builder WithLoadBalancingPolicy(
	ILoadBalancingPolicy policy
)

Parameters

policy
Type: DseILoadBalancingPolicy
the load balancing policy to use.

Return Value

Type: Builder
this Builder
See Also