26.151. 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
26.151.1. Inheritance
26.151.2. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
26.151.3. Methods
26.151.3.1. LastCheck(HealthCheckTag)
Retrieves the last HealthCheckResult.
public HealthReport LastCheck(HealthCheckTag tag = HealthCheckTag.Liveness)
26.151.3.1.1. Parameters
tag HealthCheckTag
The type of health check.
26.151.3.1.2. Returns
The result of the health check.
26.151.3.2. Record(HealthCheckTag, HealthReport)
Records a HealthCheckResult.
public void Record(HealthCheckTag tag, HealthReport report)
26.151.3.2.1. Parameters
tag HealthCheckTag
The type of health check to record.
report HealthReport
The result of the health check.