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