Table of Contents

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

RunId string

The process-local run identifier.

State GovernanceLoadDemonstrationState

The run lifecycle state.

CompletedIterations int

The number of completed evaluations.

TargetIterations int

The requested bounded evaluation count.

ElapsedMilliseconds double

The elapsed wall-clock time.

ThroughputPerSecond double

The aggregate decisions completed per second.

LatencyHistogram IReadOnlyList<GovernanceLoadLatencyBucket>

The aggregate per-decision latency histogram.

Message string

A short status description.

Properties

CompletedIterations

The number of completed evaluations.

public int CompletedIterations { get; init; }

Property Value

int

ElapsedMilliseconds

The elapsed wall-clock time.

public double ElapsedMilliseconds { get; init; }

Property Value

double

LatencyHistogram

The aggregate per-decision latency histogram.

public IReadOnlyList<GovernanceLoadLatencyBucket> LatencyHistogram { get; init; }

Property Value

IReadOnlyList<GovernanceLoadLatencyBucket>

Message

A short status description.

public string Message { get; init; }

Property Value

string

RunId

The process-local run identifier.

public string? RunId { get; init; }

Property Value

string

State

The run lifecycle state.

public GovernanceLoadDemonstrationState State { get; init; }

Property Value

GovernanceLoadDemonstrationState

TargetIterations

The requested bounded evaluation count.

public int TargetIterations { get; init; }

Property Value

int

ThroughputPerSecond

The aggregate decisions completed per second.

public double ThroughputPerSecond { get; init; }

Property Value

double