PoolingOptionsSetMaxSimultaneousRequestsPerConnectionTreshold Method |
Sets number of simultaneous requests on all connections to an host after
which more connections are created.
Namespace: DseAssembly: Dse (in Dse.dll) Version: 2.3.0
Syntax public PoolingOptions SetMaxSimultaneousRequestsPerConnectionTreshold(
HostDistance distance,
int maxSimultaneousRequests
)
Parameters
- distance
- Type: DseHostDistance
The HostDistance for which to configure this
threshold. - maxSimultaneousRequests
- Type: SystemInt32
the value to set.
Return Value
Type:
PoolingOptionsthis
PoolingOptions.
See Also