Class PipelineOutboxView
- Namespace
- ReferenceApplication.Web.Governance.Pipeline
- Assembly
- ReferenceApplication.Web.dll
The audit-completion outbox: its health and its most recent entries.
public sealed record PipelineOutboxView : IEquatable<PipelineOutboxView>
- Inheritance
-
PipelineOutboxView
- Implements
- Inherited Members
Constructors
PipelineOutboxView(bool, long, double?, long, long, int, double, string?, IReadOnlyList<PipelineOutboxEntry>)
The audit-completion outbox: its health and its most recent entries.
public PipelineOutboxView(bool Enabled, long BacklogCount, double? OldestPendingAgeSeconds, long TotalRetryCount, long DeadLetterCount, int MaxRetryAttempts, double PollIntervalSeconds, string? StatusFilter, IReadOnlyList<PipelineOutboxEntry> Entries)
Parameters
EnabledboolWhether the outbox is enabled.
BacklogCountlongEntries waiting for delivery: pending, retrying, or deferred.
OldestPendingAgeSecondsdouble?The age of the oldest waiting entry, when there is one.
TotalRetryCountlongDelivery retries across all entries.
DeadLetterCountlongEntries that exhausted their retries.
MaxRetryAttemptsintThe attempts a retrying entry gets before it is dead-lettered.
PollIntervalSecondsdoubleHow often the delivery worker polls for ready entries.
StatusFilterstringThe status the entries were filtered by, when one was given.
EntriesIReadOnlyList<PipelineOutboxEntry>The most recent entries, newest first.
Properties
BacklogCount
Entries waiting for delivery: pending, retrying, or deferred.
public long BacklogCount { get; init; }
Property Value
DeadLetterCount
Entries that exhausted their retries.
public long DeadLetterCount { get; init; }
Property Value
Enabled
Whether the outbox is enabled.
public bool Enabled { get; init; }
Property Value
Entries
The most recent entries, newest first.
public IReadOnlyList<PipelineOutboxEntry> Entries { get; init; }
Property Value
MaxRetryAttempts
The attempts a retrying entry gets before it is dead-lettered.
public int MaxRetryAttempts { get; init; }
Property Value
OldestPendingAgeSeconds
The age of the oldest waiting entry, when there is one.
public double? OldestPendingAgeSeconds { get; init; }
Property Value
PollIntervalSeconds
How often the delivery worker polls for ready entries.
public double PollIntervalSeconds { get; init; }
Property Value
StatusFilter
The status the entries were filtered by, when one was given.
public string? StatusFilter { get; init; }
Property Value
TotalRetryCount
Delivery retries across all entries.
public long TotalRetryCount { get; init; }