PoolingOptionsGetMaxConnectionPerHost Method |
The maximum number of connections per host.
For the provided
distance, this correspond to the maximum number of connections
that can be created per host at that distance.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax public int GetMaxConnectionPerHost(
HostDistance distance
)
Parameters
- distance
- Type: CassandraHostDistance
the HostDistance for which to return this threshold.
Return Value
Type:
Int32the maximum number of connections per host at distance
distance.
See Also