Click or drag to resize
PoolingOptionsGetMaxSimultaneousRequestsPerConnectionTreshold Method

Number of simultaneous requests on all connections to an host after which more connections are created.

If all the connections opened to an host at HostDistance connection 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.2.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