Click or drag to resize
PoolingOptionsGetMaxSimultaneousRequestsPerConnectionTreshold Method

Number of simultaneous requests on each connections to a host after which more connections are created.

If all the connections opened to a host are handling more than this number of simultaneous requests and there is less than GetMaxConnectionPerHost(HostDistance) connections open to this host, a new connection is open.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public int GetMaxSimultaneousRequestsPerConnectionTreshold(
	HostDistance distance
)

Parameters

distance
Type: CassandraHostDistance
the HostDistance for which to return this threshold.

Return Value

Type: Int32
the configured threshold, or the default one if none have been set.
See Also