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:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public int GetMinSimultaneousRequestsPerConnectionTreshold(
	HostDistance distance
)

Parameters

distance
Type: DseHostDistance
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