Class GovernanceLoadDemonstrationSnapshot
- Namespace
- ReferenceApplication.Web.Governance.Demonstration
- Assembly
- ReferenceApplication.Web.dll
Describes the current aggregate state of one bounded demonstration run.
public sealed record GovernanceLoadDemonstrationSnapshot : IEquatable<GovernanceLoadDemonstrationSnapshot>
- Inheritance
-
GovernanceLoadDemonstrationSnapshot
- Implements
- Inherited Members
Constructors
GovernanceLoadDemonstrationSnapshot(string?, GovernanceLoadDemonstrationState, int, int, double, double, IReadOnlyList<GovernanceLoadLatencyBucket>, string)
Describes the current aggregate state of one bounded demonstration run.
public GovernanceLoadDemonstrationSnapshot(string? RunId, GovernanceLoadDemonstrationState State, int CompletedIterations, int TargetIterations, double ElapsedMilliseconds, double ThroughputPerSecond, IReadOnlyList<GovernanceLoadLatencyBucket> LatencyHistogram, string Message)
Parameters
RunIdstringThe process-local run identifier.
StateGovernanceLoadDemonstrationStateThe run lifecycle state.
CompletedIterationsintThe number of completed evaluations.
TargetIterationsintThe requested bounded evaluation count.
ElapsedMillisecondsdoubleThe elapsed wall-clock time.
ThroughputPerSeconddoubleThe aggregate decisions completed per second.
LatencyHistogramIReadOnlyList<GovernanceLoadLatencyBucket>The aggregate per-decision latency histogram.
MessagestringA short status description.
Properties
CompletedIterations
The number of completed evaluations.
public int CompletedIterations { get; init; }
Property Value
ElapsedMilliseconds
The elapsed wall-clock time.
public double ElapsedMilliseconds { get; init; }
Property Value
LatencyHistogram
The aggregate per-decision latency histogram.
public IReadOnlyList<GovernanceLoadLatencyBucket> LatencyHistogram { get; init; }
Property Value
Message
A short status description.
public string Message { get; init; }
Property Value
RunId
The process-local run identifier.
public string? RunId { get; init; }
Property Value
State
The run lifecycle state.
public GovernanceLoadDemonstrationState State { get; init; }
Property Value
TargetIterations
The requested bounded evaluation count.
public int TargetIterations { get; init; }
Property Value
ThroughputPerSecond
The aggregate decisions completed per second.
public double ThroughputPerSecond { get; init; }