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>Inheritance
Section titled “Inheritance”object ← EventDispatchRuntimeState
Implements
Section titled “Implements”IEquatable<EventDispatchRuntimeState>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”FailedCount
Section titled “ FailedCount”The number of failed observations reported so far.
public int FailedCount { get; init; }Property Value
Section titled “Property Value”LastAttempt
Section titled “ LastAttempt”The last reported dispatch attempt number.
public int LastAttempt { get; init; }Property Value
Section titled “Property Value”LastChannelId
Section titled “ LastChannelId”The last stable channel identifier reported for this dispatch path.
public string? LastChannelId { get; init; }Property Value
Section titled “Property Value”LastError
Section titled “ LastError”The last operator-facing error summary when a failure was reported.
public string? LastError { get; init; }Property Value
Section titled “Property Value”LastMessageId
Section titled “ LastMessageId”The last stable outbound message identifier when one was reported.
public string? LastMessageId { get; init; }Property Value
Section titled “Property Value”LastObservedAtUtc
Section titled “ LastObservedAtUtc”The UTC timestamp when the last observation was reported.
public DateTimeOffset? LastObservedAtUtc { get; init; }Property Value
Section titled “Property Value”LastOutcome
Section titled “ LastOutcome”The last reported outcome identifier when one exists.
public string? LastOutcome { get; init; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”The operator-facing metadata captured by the latest report.
public IReadOnlyDictionary<string, string> Metadata { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
OutboxId
Section titled “ OutboxId”The stable outbox identifier that owns the dispatch path.
public string OutboxId { get; init; }Property Value
Section titled “Property Value”RetryPending
Section titled “ RetryPending”Gets a value indicating whether the latest report says another retry attempt is pending.
public bool RetryPending { get; }Property Value
Section titled “Property Value”RetryScheduledCount
Section titled “ RetryScheduledCount”The number of retry-scheduled observations reported so far.
public int RetryScheduledCount { get; init; }Property Value
Section titled “Property Value”SkippedCount
Section titled “ SkippedCount”The number of skipped observations reported so far.
public int SkippedCount { get; init; }Property Value
Section titled “Property Value”StartedCount
Section titled “ StartedCount”The number of started observations reported so far.
public int StartedCount { get; init; }Property Value
Section titled “Property Value”SucceededCount
Section titled “ SucceededCount”The number of succeeded observations reported so far.
public int SucceededCount { get; init; }Property Value
Section titled “Property Value”TerminalFailure
Section titled “ TerminalFailure”Gets a value indicating whether the latest report marks the dispatch path as terminally failed.
public bool TerminalFailure { get; }Property Value
Section titled “Property Value”TerminalFailureCount
Section titled “ TerminalFailureCount”The number of failed observations reported with terminal-failure posture so far.
public int TerminalFailureCount { get; init; }Property Value
Section titled “Property Value”TotalReports
Section titled “ TotalReports”Gets the total number of observations reported for this dispatch path.
public int TotalReports { get; }