Class ReplayCompletion
- Namespace
- Stratara.Abstractions.Projections
- Assembly
- Stratara.Abstractions.dll
How a replay ended, as the replaying worker reports it to Complete(ReplayCompletion).
public sealed record ReplayCompletion : IEquatable<ReplayCompletion>
- Inheritance
-
ReplayCompletion
- Implements
- Inherited Members
- Extension Methods
Constructors
ReplayCompletion(Guid, ReplayResult, long, string?)
How a replay ended, as the replaying worker reports it to Complete(ReplayCompletion).
public ReplayCompletion(Guid RequestId, ReplayResult Result, long ReplayedEvents, string? ErrorMessage = null)
Parameters
RequestIdGuidThe identity of the request the replay ran, as given to TryActivate(Guid).
ResultReplayResultHow the replay ended.
ReplayedEventslongHow many events the replay had applied when it ended.
ErrorMessagestring
Properties
ErrorMessage
public string? ErrorMessage { get; init; }
Property Value
ReadModelsRestored
Whether the read models the replay emptied were restored to their state before it began.
public bool ReadModelsRestored { get; init; }
Property Value
ReplayedEvents
How many events the replay had applied when it ended.
public long ReplayedEvents { get; init; }
Property Value
RequestId
The identity of the request the replay ran, as given to TryActivate(Guid).
public Guid RequestId { get; init; }
Property Value
Result
How the replay ended.
public ReplayResult Result { get; init; }