22.148. 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
22.148.1. Inheritance
22.148.2. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
22.148.3. Methods
22.148.3.1. LastCheck(HealthCheckTag)
Retrieves the last HealthCheckResult.
public HealthReport LastCheck(HealthCheckTag tag = HealthCheckTag.Liveness)
22.148.3.1.1. Parameters
tag HealthCheckTag
The type of health check.
22.148.3.1.2. Returns
The result of the health check.
22.148.3.2. Record(HealthCheckTag, HealthReport)
Records a HealthCheckResult.
public void Record(HealthCheckTag tag, HealthReport report)
22.148.3.2.1. Parameters
tag HealthCheckTag
The type of health check to record.
report HealthReport
The result of the health check.