Class SessionMetric
Represents an individual session metric.
Inheritance
object
SessionMetric
Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: Cassandra.Metrics
Assembly: Cassandra.dll
Syntax
public sealed class SessionMetric : IEquatable<SessionMetric>, IEquatable<IMetric>, IMetric
Fields
AllSessionMetrics
A collection with all session metrics including Timers.
Declaration
public static readonly IEnumerable<SessionMetric> AllSessionMetrics
Field Value
Type | Description |
---|---|
IEnumerable<SessionMetric> |
DefaultSessionMetrics
A collection with all session metrics except Timers.
Declaration
public static readonly IEnumerable<SessionMetric> DefaultSessionMetrics
Field Value
Type | Description |
---|---|
IEnumerable<SessionMetric> |
Properties
Name
Metric name. For example, CqlClientTimeouts returns "cql-client-timeouts".
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Equals(IMetric)
Declaration
public bool Equals(IMetric other)
Parameters
Type | Name | Description |
---|---|---|
IMetric | other |
Returns
Type | Description |
---|---|
bool |
Equals(SessionMetric)
Declaration
public bool Equals(SessionMetric other)
Parameters
Type | Name | Description |
---|---|---|
SessionMetric | other |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
object.Equals(object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()
Implements
System.IEquatable<T>
System.IEquatable<T>