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

Class EventPublicationRuntimeState

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

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

Describes the latest operator-facing runtime state reported for one event publication.

public sealed record EventPublicationRuntimeState : IEquatable<EventPublicationRuntimeState>

objectEventPublicationRuntimeState

IEquatable<EventPublicationRuntimeState>

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

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

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

Describes the latest operator-facing runtime state reported for one event publication.

public EventPublicationRuntimeState(string PublicationId, string? LastChannelId, string? LastEventType, string? LastOutcome, DateTimeOffset? LastObservedAtUtc, int AcceptedCount, int SucceededCount, int FailedCount, int SkippedCount, int MatchedSubscriptionCount, int StartedSubscriptionCount, int SucceededSubscriptionCount, int FailedSubscriptionCount, int RetryScheduledSubscriptionCount, int SkippedSubscriptionCount, string? LastError, IReadOnlyDictionary<string, string> Metadata)

PublicationId string

The stable publication identifier.

LastChannelId string?

The last stable channel identifier reported for this publication.

LastEventType string?

The last stable event-type identifier reported for this publication.

LastOutcome string?

The last reported publication outcome identifier when one exists.

LastObservedAtUtc DateTimeOffset?

The UTC timestamp when the last publication observation was reported.

AcceptedCount int

The number of accepted publication observations reported so far.

SucceededCount int

The number of succeeded publication observations reported so far.

FailedCount int

The number of failed publication observations reported so far.

SkippedCount int

The number of skipped publication observations reported so far.

MatchedSubscriptionCount int

The number of subscriptions matched by the latest publication observation.

StartedSubscriptionCount int

The number of subscription-start observations produced by the latest publication observation.

SucceededSubscriptionCount int

The number of subscription-success observations produced by the latest publication observation.

FailedSubscriptionCount int

The number of subscription-failure observations produced by the latest publication observation.

RetryScheduledSubscriptionCount int

The number of subscription-retry observations produced by the latest publication observation.

SkippedSubscriptionCount int

The number of subscription-skip observations produced by the latest publication observation.

LastError string?

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

Metadata IReadOnlyDictionary<string, string>

The operator-facing metadata captured by the latest publication observation.

The number of accepted publication observations reported so far.

public int AcceptedCount { get; init; }

int

The number of failed publication observations reported so far.

public int FailedCount { get; init; }

int

The number of subscription-failure observations produced by the latest publication observation.

public int FailedSubscriptionCount { get; init; }

int

Gets a value indicating whether the latest observation reported any subscription failures.

public bool HasSubscriptionFailures { get; }

bool

Gets a value indicating whether the latest observation reported any skipped subscriptions.

public bool HasSubscriptionSkips { get; }

bool

The last stable channel identifier reported for this publication.

public string? LastChannelId { get; init; }

string?

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

public string? LastError { get; init; }

string?

The last stable event-type identifier reported for this publication.

public string? LastEventType { get; init; }

string?

The UTC timestamp when the last publication observation was reported.

public DateTimeOffset? LastObservedAtUtc { get; init; }

DateTimeOffset?

The last reported publication outcome identifier when one exists.

public string? LastOutcome { get; init; }

string?

The number of subscriptions matched by the latest publication observation.

public int MatchedSubscriptionCount { get; init; }

int

The operator-facing metadata captured by the latest publication observation.

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

IReadOnlyDictionary<string, string>

The stable publication identifier.

public string PublicationId { get; init; }

string

The number of subscription-retry observations produced by the latest publication observation.

public int RetryScheduledSubscriptionCount { get; init; }

int

The number of skipped publication observations reported so far.

public int SkippedCount { get; init; }

int

The number of subscription-skip observations produced by the latest publication observation.

public int SkippedSubscriptionCount { get; init; }

int

The number of subscription-start observations produced by the latest publication observation.

public int StartedSubscriptionCount { get; init; }

int

The number of succeeded publication observations reported so far.

public int SucceededCount { get; init; }

int

The number of subscription-success observations produced by the latest publication observation.

public int SucceededSubscriptionCount { get; init; }

int

Gets the total number of publication observations reported for this publication id.

public int TotalReports { get; }

int