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>Inheritance
Section titled “Inheritance”object ← EventPublicationRuntimeState
Implements
Section titled “Implements”IEquatable<EventPublicationRuntimeState>
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”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”AcceptedCount
Section titled “ AcceptedCount”The number of accepted publication observations reported so far.
public int AcceptedCount { get; init; }Property Value
Section titled “Property Value”FailedCount
Section titled “ FailedCount”The number of failed publication observations reported so far.
public int FailedCount { get; init; }Property Value
Section titled “Property Value”FailedSubscriptionCount
Section titled “ FailedSubscriptionCount”The number of subscription-failure observations produced by the latest publication observation.
public int FailedSubscriptionCount { get; init; }Property Value
Section titled “Property Value”HasSubscriptionFailures
Section titled “ HasSubscriptionFailures”Gets a value indicating whether the latest observation reported any subscription failures.
public bool HasSubscriptionFailures { get; }Property Value
Section titled “Property Value”HasSubscriptionSkips
Section titled “ HasSubscriptionSkips”Gets a value indicating whether the latest observation reported any skipped subscriptions.
public bool HasSubscriptionSkips { get; }Property Value
Section titled “Property Value”LastChannelId
Section titled “ LastChannelId”The last stable channel identifier reported for this publication.
public string? LastChannelId { get; init; }Property Value
Section titled “Property Value”LastError
Section titled “ LastError”The last operator-facing error summary when a publication failure was reported.
public string? LastError { get; init; }Property Value
Section titled “Property Value”LastEventType
Section titled “ LastEventType”The last stable event-type identifier reported for this publication.
public string? LastEventType { get; init; }Property Value
Section titled “Property Value”LastObservedAtUtc
Section titled “ LastObservedAtUtc”The UTC timestamp when the last publication observation was reported.
public DateTimeOffset? LastObservedAtUtc { get; init; }Property Value
Section titled “Property Value”LastOutcome
Section titled “ LastOutcome”The last reported publication outcome identifier when one exists.
public string? LastOutcome { get; init; }Property Value
Section titled “Property Value”MatchedSubscriptionCount
Section titled “ MatchedSubscriptionCount”The number of subscriptions matched by the latest publication observation.
public int MatchedSubscriptionCount { get; init; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”The operator-facing metadata captured by the latest publication observation.
public IReadOnlyDictionary<string, string> Metadata { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
PublicationId
Section titled “ PublicationId”The stable publication identifier.
public string PublicationId { get; init; }Property Value
Section titled “Property Value”RetryScheduledSubscriptionCount
Section titled “ RetryScheduledSubscriptionCount”The number of subscription-retry observations produced by the latest publication observation.
public int RetryScheduledSubscriptionCount { get; init; }Property Value
Section titled “Property Value”SkippedCount
Section titled “ SkippedCount”The number of skipped publication observations reported so far.
public int SkippedCount { get; init; }Property Value
Section titled “Property Value”SkippedSubscriptionCount
Section titled “ SkippedSubscriptionCount”The number of subscription-skip observations produced by the latest publication observation.
public int SkippedSubscriptionCount { get; init; }Property Value
Section titled “Property Value”StartedSubscriptionCount
Section titled “ StartedSubscriptionCount”The number of subscription-start observations produced by the latest publication observation.
public int StartedSubscriptionCount { get; init; }Property Value
Section titled “Property Value”SucceededCount
Section titled “ SucceededCount”The number of succeeded publication observations reported so far.
public int SucceededCount { get; init; }Property Value
Section titled “Property Value”SucceededSubscriptionCount
Section titled “ SucceededSubscriptionCount”The number of subscription-success observations produced by the latest publication observation.
public int SucceededSubscriptionCount { get; init; }Property Value
Section titled “Property Value”TotalReports
Section titled “ TotalReports”Gets the total number of publication observations reported for this publication id.
public int TotalReports { get; }