Table of Contents

Class DeadLetterStatistics

Namespace
DotCompute.Abstractions.Messaging
Assembly
DotCompute.Abstractions.dll

Statistics for a dead letter queue.

public sealed record DeadLetterStatistics : IEquatable<DeadLetterStatistics>
Inheritance
DeadLetterStatistics
Implements
Inherited Members

Properties

CapturedAt

Gets when the statistics were captured.

public required DateTimeOffset CapturedAt { get; init; }

Property Value

DateTimeOffset

CountByReason

Gets the count by reason.

public required IReadOnlyDictionary<DeadLetterReason, int> CountByReason { get; init; }

Property Value

IReadOnlyDictionary<DeadLetterReason, int>

CurrentCount

Gets the current entry count.

public required int CurrentCount { get; init; }

Property Value

int

MaxCapacity

Gets the maximum capacity.

public required int MaxCapacity { get; init; }

Property Value

int

NewestEntryTime

Gets when the newest entry was dead-lettered.

public DateTimeOffset? NewestEntryTime { get; init; }

Property Value

DateTimeOffset?

OldestEntryTime

Gets when the oldest entry was dead-lettered.

public DateTimeOffset? OldestEntryTime { get; init; }

Property Value

DateTimeOffset?

QueueName

Gets the queue name.

public required string QueueName { get; init; }

Property Value

string

TotalDeadLettered

Gets the total messages ever dead-lettered.

public required long TotalDeadLettered { get; init; }

Property Value

long