Class SagaChoreographyPublicationRuntimeState
Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll
Describes the latest operator-facing runtime state reported for one live saga-choreography publication path.
public sealed record SagaChoreographyPublicationRuntimeState : IEquatable<SagaChoreographyPublicationRuntimeState>Inheritance
Section titled “Inheritance”object ← SagaChoreographyPublicationRuntimeState
Implements
Section titled “Implements”IEquatable<SagaChoreographyPublicationRuntimeState>
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”SagaChoreographyPublicationRuntimeState(string, string, string, string, string, DateTimeOffset, string?, IReadOnlyList<string>, string?, string?, string?, bool, string?, DateTimeOffset?, string?, int, int, string?, IReadOnlyDictionary<string, string>)
Section titled “ SagaChoreographyPublicationRuntimeState(string, string, string, string, string, DateTimeOffset, string?, IReadOnlyList<string>, string?, string?, string?, bool, string?, DateTimeOffset?, string?, int, int, string?, IReadOnlyDictionary<string, string>)”Describes the latest operator-facing runtime state reported for one live saga-choreography publication path.
public SagaChoreographyPublicationRuntimeState(string Id, string BehaviorId, string PublicationId, string ChannelId, string EventType, DateTimeOffset OccurredAtUtc, string? SourceModuleId, IReadOnlyList<string> TransportIds, string? CorrelationId, string? TenantId, string? ContentType, bool IsCompensation, string? LastOutcome, DateTimeOffset? LastObservedAtUtc, string? LastPublisherType, int AcceptedCount, int FailedCount, string? LastError, IReadOnlyDictionary<string, string> Metadata)Parameters
Section titled “Parameters”Id string
The stable runtime-state identifier for this observed choreography publication path.
BehaviorId string
The stable choreography behavior identifier that produced the publication.
PublicationId string
The stable publication identifier declared by the choreography step.
ChannelId string
The logical channel or destination identifier used by the publication.
EventType string
The logical event type identifier used by the publication.
OccurredAtUtc DateTimeOffset
The UTC timestamp carried by the observed publication itself.
SourceModuleId string?
The owning module identifier when one is known at runtime.
TransportIds IReadOnlyList<string>
The transport identifiers that expose the owning choreography behavior.
CorrelationId string?
The correlation identifier associated with the publication when one exists.
TenantId string?
The tenant identifier associated with the publication when one exists.
ContentType string?
The payload content type when one is known.
IsCompensation bool
Indicates whether the publication represents compensation work.
LastOutcome string?
The last reported publication outcome identifier when one exists.
LastObservedAtUtc DateTimeOffset?
The UTC timestamp when the latest publication observation was reported.
LastPublisherType string?
The last concrete publisher implementation type that accepted or rejected the publication when one was reported.
AcceptedCount int
The number of accepted observations reported so far.
FailedCount int
The number of failed observations reported so far.
LastError string?
The latest operator-facing error summary when the publication handoff reported a failure.
Metadata IReadOnlyDictionary<string, string>
The operator-facing metadata captured by the latest observation.
Properties
Section titled “Properties”AcceptedCount
Section titled “ AcceptedCount”The number of accepted observations reported so far.
public int AcceptedCount { get; init; }Property Value
Section titled “Property Value”BehaviorId
Section titled “ BehaviorId”The stable choreography behavior identifier that produced the publication.
public string BehaviorId { get; init; }Property Value
Section titled “Property Value”ChannelId
Section titled “ ChannelId”The logical channel or destination identifier used by the publication.
public string ChannelId { get; init; }Property Value
Section titled “Property Value”ContentType
Section titled “ ContentType”The payload content type when one is known.
public string? ContentType { get; init; }Property Value
Section titled “Property Value”CorrelationId
Section titled “ CorrelationId”The correlation identifier associated with the publication when one exists.
public string? CorrelationId { get; init; }Property Value
Section titled “Property Value”EventType
Section titled “ EventType”The logical event type identifier used by the publication.
public string EventType { get; init; }Property Value
Section titled “Property Value”FailedCount
Section titled “ FailedCount”The number of failed observations reported so far.
public int FailedCount { get; init; }Property Value
Section titled “Property Value”The stable runtime-state identifier for this observed choreography publication path.
public string Id { get; init; }Property Value
Section titled “Property Value”IsAccepted
Section titled “ IsAccepted”Gets a value indicating whether the latest report says the publication handoff succeeded.
public bool IsAccepted { get; }Property Value
Section titled “Property Value”IsCompensation
Section titled “ IsCompensation”Indicates whether the publication represents compensation work.
public bool IsCompensation { get; init; }Property Value
Section titled “Property Value”IsFailed
Section titled “ IsFailed”Gets a value indicating whether the latest report says the publication handoff failed.
public bool IsFailed { get; }Property Value
Section titled “Property Value”LastError
Section titled “ LastError”The latest operator-facing error summary when the publication handoff reported a failure.
public string? LastError { get; init; }Property Value
Section titled “Property Value”LastObservedAtUtc
Section titled “ LastObservedAtUtc”The UTC timestamp when the latest 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”LastPublisherType
Section titled “ LastPublisherType”The last concrete publisher implementation type that accepted or rejected the publication when one was reported.
public string? LastPublisherType { get; init; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”The operator-facing metadata captured by the latest observation.
public IReadOnlyDictionary<string, string> Metadata { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
OccurredAtUtc
Section titled “ OccurredAtUtc”The UTC timestamp carried by the observed publication itself.
public DateTimeOffset OccurredAtUtc { get; init; }Property Value
Section titled “Property Value”PublicationId
Section titled “ PublicationId”The stable publication identifier declared by the choreography step.
public string PublicationId { get; init; }Property Value
Section titled “Property Value”SourceModuleId
Section titled “ SourceModuleId”The owning module identifier when one is known at runtime.
public string? SourceModuleId { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”The tenant identifier associated with the publication when one exists.
public string? TenantId { get; init; }Property Value
Section titled “Property Value”TotalReports
Section titled “ TotalReports”Gets the total number of publication observations reported for this runtime-state entry.
public int TotalReports { get; }Property Value
Section titled “Property Value”TransportIds
Section titled “ TransportIds”The transport identifiers that expose the owning choreography behavior.
public IReadOnlyList<string> TransportIds { get; init; }