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