Class RuntimeHealthEvaluator
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Engine.Runtime
Assembly: Cephalon.Engine.dll
Evaluates runtime liveness, readiness, and dependency health.
public sealed class RuntimeHealthEvaluatorInheritance
Section titled “Inheritance”object ← RuntimeHealthEvaluator
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”RuntimeHealthEvaluator(IRuntime, IEnumerable<IDependencyHealthContributor>)
Section titled “ RuntimeHealthEvaluator(IRuntime, IEnumerable<IDependencyHealthContributor>)”Initializes a new instance of the
public RuntimeHealthEvaluator(IRuntime runtime, IEnumerable<IDependencyHealthContributor> dependencyHealthContributors)Parameters
Section titled “Parameters”runtime IRuntime
The runtime to evaluate.
dependencyHealthContributors IEnumerable<IDependencyHealthContributor>
The dependency contributors that provide health data.
Methods
Section titled “Methods”EvaluateDependencies()
Section titled “ EvaluateDependencies()”Evaluates dependency-level health reports without applying probe semantics.
public DependencyHealthReport[] EvaluateDependencies()Returns
Section titled “Returns”DependencyHealthReport[]
The dependency-health reports visible to the evaluator.
EvaluateLiveness()
Section titled “ EvaluateLiveness()”Evaluates whether the runtime process is live.
public RuntimeHealthReport EvaluateLiveness()Returns
Section titled “Returns”The liveness report.
EvaluateReadiness()
Section titled “ EvaluateReadiness()”Evaluates whether the runtime is ready to serve traffic.
public RuntimeHealthReport EvaluateReadiness()Returns
Section titled “Returns”The readiness report.