Click or drag to resize
PoolingOptionsSetMaxSimultaneousRequestsPerConnectionTreshold Method
Sets number of simultaneous requests on all connections to an host after which more connections are created.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public PoolingOptions SetMaxSimultaneousRequestsPerConnectionTreshold(
	HostDistance distance,
	int maxSimultaneousRequests
)

Parameters

distance
Type: CassandraHostDistance
The HostDistance for which to configure this threshold.
maxSimultaneousRequests
Type: SystemInt32
the value to set.

Return Value

Type: PoolingOptions
this PoolingOptions.
See Also