Click or drag to resize

ExtensionsGetState Method

Gets a snapshot containing information on the connections pools held by this Client at the current time.

The information provided in the returned object only represents the state at the moment this method was called and it's not maintained in sync with the driver metadata.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public static ISessionState GetState(
	this ISession instance
)

Parameters

instance
Type: CassandraISession

Return Value

Type: ISessionState

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISession. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also