21.152. Class HealthCheckRecord
Namespace: ArmoniK.Core.Common
Assembly: ArmoniK.Core.Common.dll
Records the health check results to be retrieved at any time by other components of the application.
public class HealthCheckRecord
21.152.1. Inheritance
21.152.2. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.152.3. Methods
21.152.3.1. LastCheck(HealthCheckTag)
Retrieves the last HealthCheckResult.
public HealthReport LastCheck(HealthCheckTag tag = HealthCheckTag.Liveness)
21.152.3.1.1. Parameters
tag HealthCheckTag
The type of health check.
21.152.3.1.2. Returns
The result of the health check.
21.152.3.2. Record(HealthCheckTag, HealthReport)
Records a HealthCheckResult.
public void Record(HealthCheckTag tag, HealthReport report)
21.152.3.2.1. Parameters
tag HealthCheckTag
The type of health check to record.
report HealthReport
The result of the health check.