Skip to content

Class RuntimeHealthEvaluator

Namespace: Cephalon.Engine.Runtime
Assembly: Cephalon.Engine.dll

Evaluates runtime liveness, readiness, and dependency health.

public sealed class RuntimeHealthEvaluator

objectRuntimeHealthEvaluator

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

RuntimeHealthEvaluator(IRuntime, IEnumerable<IDependencyHealthContributor>)

Section titled “ RuntimeHealthEvaluator(IRuntime, IEnumerable<IDependencyHealthContributor>)”

Initializes a new instance of the class.

public RuntimeHealthEvaluator(IRuntime runtime, IEnumerable<IDependencyHealthContributor> dependencyHealthContributors)

runtime IRuntime

The runtime to evaluate.

dependencyHealthContributors IEnumerable<IDependencyHealthContributor>

The dependency contributors that provide health data.

Evaluates dependency-level health reports without applying probe semantics.

public DependencyHealthReport[] EvaluateDependencies()

DependencyHealthReport[]

The dependency-health reports visible to the evaluator.

Evaluates whether the runtime process is live.

public RuntimeHealthReport EvaluateLiveness()

RuntimeHealthReport

The liveness report.

Evaluates whether the runtime is ready to serve traffic.

public RuntimeHealthReport EvaluateReadiness()

RuntimeHealthReport

The readiness report.