Skip to main content
Table of Contents

Class ReplayProgress

Namespace
Stratara.Abstractions.Projections
Assembly
Stratara.Abstractions.dll

Snapshot of replay progress at a point in time. Returned by GetProgress() for status dashboards.

public sealed record ReplayProgress : IEquatable<ReplayProgress>
Inheritance
ReplayProgress
Implements
Inherited Members
Extension Methods

Constructors

ReplayProgress(bool, long, long, int, string?)

Snapshot of replay progress at a point in time. Returned by GetProgress() for status dashboards.

public ReplayProgress(bool IsActive, long ProcessedEvents, long TotalEvents, int Percentage, string? ErrorMessage = null)

Parameters

IsActive bool

Whether a replay is currently running.

ProcessedEvents long

Number of events already processed.

TotalEvents long

Total number of events to process for this replay.

Percentage int

Convenience integer percentage in [0, 100].

ErrorMessage string

Last error message if the replay failed; null otherwise.

Properties

ErrorMessage

Last error message if the replay failed; null otherwise.

public string? ErrorMessage { get; init; }

Property Value

string

IsActive

Whether a replay is currently running.

public bool IsActive { get; init; }

Property Value

bool

Percentage

Convenience integer percentage in [0, 100].

public int Percentage { get; init; }

Property Value

int

ProcessedEvents

Number of events already processed.

public long ProcessedEvents { get; init; }

Property Value

long

TotalEvents

Total number of events to process for this replay.

public long TotalEvents { get; init; }

Property Value

long