Click or drag to resize

ISessionStateGetOpenConnections Method

The number of open connections to a given host.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
int GetOpenConnections(
	Host host
)

Parameters

host
Type: CassandraHost
The host to get open connections for.

Return Value

Type: Int32
The number of open connections to {@code host}. If the session is not connected to that host, 0 is returned.
See Also