Skip to content

Class EventDispatchRuntimeSummary

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Describes the latest aggregate operator-facing state reported for one durable event-dispatch runtime.

public sealed class EventDispatchRuntimeSummary

objectEventDispatchRuntimeSummary

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

EventDispatchRuntimeSummary(IReadOnlyList<string>?, string?, string?, string?, DateTimeOffset?, string?, int, int, int, int, int, int, int, string?, int, int)

Section titled “ EventDispatchRuntimeSummary(IReadOnlyList<string>?, string?, string?, string?, DateTimeOffset?, string?, int, int, int, int, int, int, int, string?, int, int)”

Creates a new aggregate runtime summary.

public EventDispatchRuntimeSummary(IReadOnlyList<string>? reportedOutboxIds = null, string? lastOutboxId = null, string? lastChannelId = null, string? lastOutcome = null, DateTimeOffset? lastObservedAtUtc = null, string? lastMessageId = null, int lastAttempt = 0, int startedCount = 0, int succeededCount = 0, int failedCount = 0, int retryScheduledCount = 0, int skippedCount = 0, int retryPendingCount = 0, string? lastError = null, int terminalFailureCount = 0, int terminalOutboxCount = 0)

reportedOutboxIds IReadOnlyList<string>?

The outbox identifiers that have reported state for the runtime.

lastOutboxId string?

The outbox identifier that produced the latest observation.

lastChannelId string?

The latest reported channel identifier.

lastOutcome string?

The latest reported dispatch outcome identifier.

lastObservedAtUtc DateTimeOffset?

The UTC timestamp when the latest observation was reported.

lastMessageId string?

The latest outbound message identifier when one was reported.

lastAttempt int

The latest reported dispatch attempt number.

startedCount int

The total number of started observations reported so far.

succeededCount int

The total number of succeeded observations reported so far.

failedCount int

The total number of failed observations reported so far.

retryScheduledCount int

The total number of retry-scheduled observations reported so far.

skippedCount int

The total number of skipped observations reported so far.

retryPendingCount int

The number of owned outboxes whose latest report still says another retry is pending.

lastError string?

The latest operator-facing error summary when one was reported.

terminalFailureCount int

The total number of failed observations reported with terminal-failure posture.

terminalOutboxCount int

The number of owned outboxes whose latest report marks the dispatch path as terminally failed.

Gets an empty runtime summary when no dispatch observations have been reported yet.

public static EventDispatchRuntimeSummary Empty { get; }

EventDispatchRuntimeSummary

Gets the total number of failed observations reported so far.

public int FailedCount { get; }

int

Gets a value indicating whether the dispatch runtime has reported any observations yet.

public bool HasReports { get; }

bool

Gets a value indicating whether the dispatch runtime has reported any terminal failures.

public bool HasTerminalFailures { get; }

bool

Gets the latest reported dispatch attempt number.

public int LastAttempt { get; }

int

Gets the latest reported channel identifier when one exists.

public string? LastChannelId { get; }

string?

Gets the latest operator-facing error summary when one was reported.

public string? LastError { get; }

string?

Gets the latest outbound message identifier when one was reported.

public string? LastMessageId { get; }

string?

Gets the UTC timestamp when the latest observation was reported.

public DateTimeOffset? LastObservedAtUtc { get; }

DateTimeOffset?

Gets the outbox identifier that produced the latest observation when one exists.

public string? LastOutboxId { get; }

string?

Gets the latest reported dispatch outcome identifier when one exists.

public string? LastOutcome { get; }

string?

Gets the number of outboxes that have reported runtime state for this dispatch runtime.

public int ReportedOutboxCount { get; }

int

Gets the outbox identifiers that have reported runtime state for the dispatch runtime.

public IReadOnlyList<string> ReportedOutboxIds { get; }

IReadOnlyList<string>

Gets the number of owned outboxes whose latest report still says another retry is pending.

public int RetryPendingCount { get; }

int

Gets the total number of retry-scheduled observations reported so far.

public int RetryScheduledCount { get; }

int

Gets the total number of skipped observations reported so far.

public int SkippedCount { get; }

int

Gets the total number of started observations reported so far.

public int StartedCount { get; }

int

Gets the total number of succeeded observations reported so far.

public int SucceededCount { get; }

int

Gets the total number of failed observations reported with terminal-failure posture.

public int TerminalFailureCount { get; }

int

Gets the number of owned outboxes whose latest report marks the dispatch path as terminally failed.

public int TerminalOutboxCount { get; }

int

Gets the total number of reported observations across all owned outboxes.

public int TotalReports { get; }

int