Class DetailedStats
Per-domain counter snapshot of NodeLink's stats manager, REST only.
public sealed record DetailedStats : IEquatable<DetailedStats>
- Inheritance
-
DetailedStats
- Implements
- Inherited Members
Properties
Api
API request and error counters.
[JsonPropertyName("api")]
[JsonInclude]
public ApiCounters? Api { get; }
Property Value
Playback
Playback event counters by event name.
[JsonPropertyName("playback")]
[JsonInclude]
public PlaybackCounters? Playback { get; }
Property Value
Sources
Success and failure counters per source name.
[JsonPropertyName("sources")]
[JsonInclude]
public IReadOnlyDictionary<string, SourceCounters>? Sources { get; }
Property Value
Remarks
Null values the wire carries are dropped.
Methods
Equals(DetailedStats?)
Indicates whether both snapshots carry the same counters.
public bool Equals(DetailedStats? other)
Parameters
otherDetailedStatsThe snapshot to compare with.
Returns
- bool
Whether the members match, the counters compared by content.
GetHashCode()
Returns a hash of the nested counters, the source map stays out of it.
public override int GetHashCode()
Returns
- int
The hash code.