Class NodeMetric
Represents an individual node metric.
Inheritance
object
NodeMetric
Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: Cassandra.Metrics
Assembly: Cassandra.dll
Syntax
public sealed class NodeMetric : IEquatable<NodeMetric>, IEquatable<IMetric>, IMetric
Fields
AllNodeMetrics
A collection with all node metrics including Timers.
Declaration
public static readonly IEnumerable<NodeMetric> AllNodeMetrics
Field Value
| Type | Description |
|---|---|
| IEnumerable<NodeMetric> |
DefaultNodeMetrics
A collection with all node metrics except Timers.
Declaration
public static readonly IEnumerable<NodeMetric> DefaultNodeMetrics
Field Value
| Type | Description |
|---|---|
| IEnumerable<NodeMetric> |
Properties
Name
Metric name. For example, OpenConnections returns "pool.open-connections".
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(NodeMetric)
Declaration
public bool Equals(NodeMetric other)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeMetric | 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>