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, Policies.DefaultLoadBalancingPolicy will be used instead.

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

Parameters

policy
Type: CassandraILoadBalancingPolicy
the load balancing policy to use

Return Value

Type: Builder
this Builder
See Also