Click or drag to resize
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: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public int GetMaxConnectionPerHost(
	HostDistance distance
)

Parameters

distance
Type: CassandraHostDistance
the HostDistance for which to return this threshold.

Return Value

Type: Int32
the maximum number of connections per host at distance distance.
See Also