ข้ามไปยังเนื้อหา

Class EventDispatchRuntimeState

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

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

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

public sealed record EventDispatchRuntimeState : IEquatable<EventDispatchRuntimeState>

objectEventDispatchRuntimeState

IEquatable<EventDispatchRuntimeState>

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

EventDispatchRuntimeState(string, string?, string?, DateTimeOffset?, string?, int, int, int, int, int, int, string?, IReadOnlyDictionary<string, string>, int)

Section titled “ EventDispatchRuntimeState(string, string?, string?, DateTimeOffset?, string?, int, int, int, int, int, int, string?, IReadOnlyDictionary<string, string>, int)”

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

public EventDispatchRuntimeState(string OutboxId, string? LastChannelId, string? LastOutcome, DateTimeOffset? LastObservedAtUtc, string? LastMessageId, int LastAttempt, int StartedCount, int SucceededCount, int FailedCount, int RetryScheduledCount, int SkippedCount, string? LastError, IReadOnlyDictionary<string, string> Metadata, int TerminalFailureCount = 0)

OutboxId string

The stable outbox identifier that owns the dispatch path.

LastChannelId string?

The last stable channel identifier reported for this dispatch path.

LastOutcome string?

The last reported outcome identifier when one exists.

LastObservedAtUtc DateTimeOffset?

The UTC timestamp when the last observation was reported.

LastMessageId string?

The last stable outbound message identifier when one was reported.

LastAttempt int

The last reported dispatch attempt number.

StartedCount int

The number of started observations reported so far.

SucceededCount int

The number of succeeded observations reported so far.

FailedCount int

The number of failed observations reported so far.

RetryScheduledCount int

The number of retry-scheduled observations reported so far.

SkippedCount int

The number of skipped observations reported so far.

LastError string?

The last operator-facing error summary when a failure was reported.

Metadata IReadOnlyDictionary<string, string>

The operator-facing metadata captured by the latest report.

TerminalFailureCount int

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

The number of failed observations reported so far.

public int FailedCount { get; init; }

int

The last reported dispatch attempt number.

public int LastAttempt { get; init; }

int

The last stable channel identifier reported for this dispatch path.

public string? LastChannelId { get; init; }

string?

The last operator-facing error summary when a failure was reported.

public string? LastError { get; init; }

string?

The last stable outbound message identifier when one was reported.

public string? LastMessageId { get; init; }

string?

The UTC timestamp when the last observation was reported.

public DateTimeOffset? LastObservedAtUtc { get; init; }

DateTimeOffset?

The last reported outcome identifier when one exists.

public string? LastOutcome { get; init; }

string?

The operator-facing metadata captured by the latest report.

public IReadOnlyDictionary<string, string> Metadata { get; init; }

IReadOnlyDictionary<string, string>

The stable outbox identifier that owns the dispatch path.

public string OutboxId { get; init; }

string

Gets a value indicating whether the latest report says another retry attempt is pending.

public bool RetryPending { get; }

bool

The number of retry-scheduled observations reported so far.

public int RetryScheduledCount { get; init; }

int

The number of skipped observations reported so far.

public int SkippedCount { get; init; }

int

The number of started observations reported so far.

public int StartedCount { get; init; }

int

The number of succeeded observations reported so far.

public int SucceededCount { get; init; }

int

Gets a value indicating whether the latest report marks the dispatch path as terminally failed.

public bool TerminalFailure { get; }

bool

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

public int TerminalFailureCount { get; init; }

int

Gets the total number of observations reported for this dispatch path.

public int TotalReports { get; }

int