Click or drag to resize

IExecutionProfileBuilderWithLoadBalancingPolicy Method

Sets the load balancing policy. See ILoadBalancingPolicy for additional context on this setting. If no load balancing policy is set through this method, DefaultLoadBalancingPolicy will be used instead.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
IExecutionProfileBuilder WithLoadBalancingPolicy(
	ILoadBalancingPolicy loadBalancingPolicy
)

Parameters

loadBalancingPolicy
Type: CassandraILoadBalancingPolicy

Return Value

Type: IExecutionProfileBuilder
This builder.
See Also