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: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax public Builder WithLoadBalancingPolicy(
ILoadBalancingPolicy policy
)
Parameters
- policy
- Type: CassandraILoadBalancingPolicy
the load balancing policy to use
Return Value
Type:
Builderthis Builder
See Also