Class ProjectionGenerationCutoverRequest
- Namespace
- Excalibur.EventSourcing.Projections
- Assembly
- Excalibur.EventSourcing.dll
Identifies a reader, its observed revision, a target generation and a consumer-selected lag threshold.
public sealed record ProjectionGenerationCutoverRequest : IEquatable<ProjectionGenerationCutoverRequest>
- Inheritance
-
ProjectionGenerationCutoverRequest
- Implements
- Inherited Members
Properties
ExpectedRevision
Gets the pointer revision observed before requesting the transition.
public Guid? ExpectedRevision { get; init; }
Property Value
- Guid?
Null initializes an absent reader; a value requires exactly that revision, including during rollback.
MaxAcceptableLag
Gets the maximum acceptable lag, in stream positions.
public required long MaxAcceptableLag { get; init; }
Property Value
- long
A nonnegative position count. There is no universally safe default.
NewProjectionKey
Gets the new generation's durable member key.
public required string NewProjectionKey { get; init; }
Property Value
- string
The key composed by ProjectionKey(Type).
ReaderName
Gets the stable logical reader name.
public required string ReaderName { get; init; }
Property Value
- string
A stable reader name; it does not change when a projection version changes.
SubscriptionName
Gets the subscription containing both generations.
public required string SubscriptionName { get; init; }
Property Value
- string
The subscription name.