Click or drag to resize

ISessionStateGetInFlightQueries Method

The number of queries that are currently being executed through a given host.

This corresponds to the number of queries that have been sent (by the session this is a State of) to the server Host on one of its connections but haven't yet returned. In that sense this provides a sort of measure of how busy the connections to that node are (at the time the state was obtained at least).

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

Parameters

host
Type: CassandraHost
The host to get in-flight queries for.

Return Value

Type: Int32
The number of executing queries to Host at the time the state was obtained.
See Also