Skip to content

Interface IBehaviorResilienceRuntimeCatalog

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

Exposes the active behavior-execution resilience policies visible to the current runtime.

public interface IBehaviorResilienceRuntimeCatalog

This runtime-facing surface reports what the behavior dispatch pipeline actually enforces after defaults and implementation limits have been applied. It complements the requested contract projected through AppProfile.Resilience.

Gets all behavior-execution resilience policies visible to the current runtime.

IReadOnlyList<BehaviorResilienceRuntimeDescriptor> Policies { get; }

IReadOnlyList<BehaviorResilienceRuntimeDescriptor>

Gets one behavior-execution resilience policy by its stable identifier.

BehaviorResilienceRuntimeDescriptor? GetById(string policyId)

policyId string

The stable policy identifier to resolve.

BehaviorResilienceRuntimeDescriptor?

The matching policy descriptor, or null when it is not active.

Resolves the effective behavior-execution resilience policy for one behavior and optional transport.

BehaviorResilienceRuntimeDescriptor? Resolve(string behaviorId, string? transportId = null)

behaviorId string

The stable behavior identifier to resolve.

transportId string?

The stable transport identifier when one is known.

BehaviorResilienceRuntimeDescriptor?

The matched policy descriptor, including explicit disable overrides when one suppresses the default policy; otherwise null when no behavior-execution policy applies.