Click or drag to resize

PoolingOptions.SetMaxConnectionsPerHost Method

Sets the maximum number of connections per host.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.12.0
Syntax
C#
public PoolingOptions SetMaxConnectionsPerHost(
	HostDistance distance,
	int maxConnections
)

Parameters

distance
Type: Cassandra.HostDistance
the HostDistance for which to set this threshold.
maxConnections
Type: System.Int32
the value to set

Return Value

Type: PoolingOptions
this PoolingOptions.
See Also