Table of Contents

Class SagaTimerRecoveryFence

Namespace
Excalibur.Dispatch.Messaging
Assembly
Excalibur.Dispatch.Abstractions.dll

Names one exact compact receiver state; it is an observation, not ownership of saga state.

public sealed class SagaTimerRecoveryFence
Inheritance
SagaTimerRecoveryFence
Inherited Members
Extension Methods

Constructors

SagaTimerRecoveryFence(Guid, Guid, long, long)

Creates an observed receiver fence.

public SagaTimerRecoveryFence(Guid token, Guid incarnationId, long sequence, long mutationRevision)

Parameters

token Guid

Nonempty opaque token, replaced only on state-incarnation advancement; batch sequence and mutation revision are separate.

incarnationId Guid

Current state incarnation, or empty only before the first batch.

sequence long

Last atomically applied batch sequence within that incarnation.

mutationRevision long

Monotone receiver revision including public cancellations/retirement.

Properties

IncarnationId

Gets the currently applied incarnation.

public Guid IncarnationId { get; }

Property Value

Guid

MutationRevision

Gets the provider-serialized mutation revision used to fence captured intents.

public long MutationRevision { get; }

Property Value

long

Sequence

Gets the last applied sequence.

public long Sequence { get; }

Property Value

long

Token

Gets the exact opaque receiver token.

public Guid Token { get; }

Property Value

Guid