Table of Contents

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

Outcome ProjectionCutoverOutcome

The observed outcome.

NewGenerationCursor long?

The cursor, or null when absent.

HeadPosition long

The captured stream head.

Lag long?

The measured lag, or null when no cursor exists.

Properties

HeadPosition

The captured stream head.

public long HeadPosition { get; init; }

Property Value

long

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; }

Property Value

ProjectionCutoverOutcome