ISessionStateGetOpenConnections Method |
The number of open connections to a given host.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax 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