HealthIndicator class abstract

The skeleton of an indicator injectable in the HealthCheckModule. Each indicator must implement the pingCheck method, which performs the actual health check and returns a HealthIndicatorCheck containing the status and any relevant details.

Implementers

Constructors

HealthIndicator()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pingCheck(RequestContext context) Future<HealthIndicatorCheck>
Returns a map with the status of the specific component. Throws an exception if the component is critically failing.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited