Click or drag to resize

PoolingOptionsGetMaxRequestsPerConnection Method

Gets the maximum amount of requests that can be in-flight on a single connection at the same time.

This setting acts as a fixed maximum, once this value is reached for a host the pool will start rejecting requests, throwing BusyPoolException instances.

This setting should not be mistaken with GetMaxSimultaneousRequestsPerConnectionTreshold(HostDistance).

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public int GetMaxRequestsPerConnection()

Return Value

Type: Int32
See Also