Class Extensions
Provides C# extension methods for interfaces and classes within the root namespace.
Inheritance
object
Extensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public static class Extensions
Methods
GetState(ISession)
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.
Declaration
public static ISessionState GetState(this ISession instance)
Parameters
Type | Name | Description |
---|---|---|
ISession | instance |
Returns
Type | Description |
---|---|
ISessionState |