Skip to content

Class BehaviorResilienceRuntimeDescriptor

Namespace: Cephalon.Abstractions.Resilience
Assembly: Cephalon.Abstractions.dll

Describes one effective behavior-execution resilience policy exposed by the current runtime.

public sealed record BehaviorResilienceRuntimeDescriptor : IEquatable<BehaviorResilienceRuntimeDescriptor>

objectBehaviorResilienceRuntimeDescriptor

IEquatable<BehaviorResilienceRuntimeDescriptor>

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

BehaviorResilienceRuntimeDescriptor(string, string, string, string, string, IReadOnlyList<string>, IReadOnlyList<string>, BehaviorExecutionResilienceSelection, BehaviorExecutionResilienceSelection, IReadOnlyDictionary<string, string>)

Section titled “ BehaviorResilienceRuntimeDescriptor(string, string, string, string, string, IReadOnlyList<string>, IReadOnlyList<string>, BehaviorExecutionResilienceSelection, BehaviorExecutionResilienceSelection, IReadOnlyDictionary<string, string>)”

Describes one effective behavior-execution resilience policy exposed by the current runtime.

public BehaviorResilienceRuntimeDescriptor(string Id, string DisplayName, string Description, string ExecutionMode, string Scope, IReadOnlyList<string> BehaviorIds, IReadOnlyList<string> TransportIds, BehaviorExecutionResilienceSelection Requested, BehaviorExecutionResilienceSelection Effective, IReadOnlyDictionary<string, string> Metadata)

Id string

The stable runtime policy identifier.

DisplayName string

The human-readable policy name.

Description string

The human-readable policy description.

ExecutionMode string

The enforcement mode used by the active runtime, such as behavior-dispatch-middleware or contract-only.

Scope string

The runtime scope covered by the policy, such as all-behavior-executions.

BehaviorIds IReadOnlyList<string>

The behavior identifiers covered by the policy when it is scoped to a behavior subset.

TransportIds IReadOnlyList<string>

The transport identifiers covered by the policy when it is scoped to a transport subset.

Requested BehaviorExecutionResilienceSelection

The requested behavior-execution resilience contract.

Effective BehaviorExecutionResilienceSelection

The effective behavior-execution resilience contract after runtime normalization.

Metadata IReadOnlyDictionary<string, string>

Additional runtime-specific metadata describing the policy.

The behavior identifiers covered by the policy when it is scoped to a behavior subset.

public IReadOnlyList<string> BehaviorIds { get; init; }

IReadOnlyList<string>

The human-readable policy description.

public string Description { get; init; }

string

The human-readable policy name.

public string DisplayName { get; init; }

string

The effective behavior-execution resilience contract after runtime normalization.

public BehaviorExecutionResilienceSelection Effective { get; init; }

BehaviorExecutionResilienceSelection

The enforcement mode used by the active runtime, such as behavior-dispatch-middleware or contract-only.

public string ExecutionMode { get; init; }

string

The stable runtime policy identifier.

public string Id { get; init; }

string

Additional runtime-specific metadata describing the policy.

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

IReadOnlyDictionary<string, string>

The requested behavior-execution resilience contract.

public BehaviorExecutionResilienceSelection Requested { get; init; }

BehaviorExecutionResilienceSelection

The runtime scope covered by the policy, such as all-behavior-executions.

public string Scope { get; init; }

string

The transport identifiers covered by the policy when it is scoped to a transport subset.

public IReadOnlyList<string> TransportIds { get; init; }

IReadOnlyList<string>