Click or drag to resize
PoolingOptionsGetMinSimultaneousRequestsPerConnectionTreshold Method
Number of simultaneous requests on a connection below which connections in excess are reclaimed.

If an opened connection to an host at distance distance handles less than this number of simultaneous requests and there is more than #GetCoreConnectionsPerHost connections open to this host, the connection is closed.

The default value for this option is 25 for Local and Remote hosts.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public int GetMinSimultaneousRequestsPerConnectionTreshold(
	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