Struct ProjectionGenerationCutoverResult
- Namespace
- Excalibur.EventSourcing.Projections
- Assembly
- Excalibur.EventSourcing.dll
The observed cutover outcome and the measurement used to decide it.
public readonly record struct ProjectionGenerationCutoverResult : IEquatable<ProjectionGenerationCutoverResult>
- Implements
- Inherited Members
Constructors
ProjectionGenerationCutoverResult(ProjectionCutoverOutcome, long?, long, long?)
The observed cutover outcome and the measurement used to decide it.
public ProjectionGenerationCutoverResult(ProjectionCutoverOutcome Outcome, long? NewGenerationCursor, long HeadPosition, long? Lag)
Parameters
OutcomeProjectionCutoverOutcomeThe observed outcome.
NewGenerationCursorlong?The cursor, or null when absent.
HeadPositionlongThe captured stream head.
Laglong?The measured lag, or null when no cursor exists.
Properties
HeadPosition
The captured stream head.
public long HeadPosition { get; init; }
Property Value
Lag
The measured lag, or null when no cursor exists.
public long? Lag { get; init; }
Property Value
- long?
NewGenerationCursor
The cursor, or null when absent.
public long? NewGenerationCursor { get; init; }
Property Value
- long?
Outcome
The observed outcome.
public ProjectionCutoverOutcome Outcome { get; init; }