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.4.0
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