Click or drag to resize

DseClusterBuilderWithLoadBalancingPolicy Method

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

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

To specify the local datacenter, use the following method CreateDefault(String) to create an instance of the default policy with a specific local datacenter.

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

Parameters

policy
Type: DseILoadBalancingPolicy
the load balancing policy to use

Return Value

Type: DseClusterBuilder
this instance
See Also