DVHealth class

The registered checks.

Constructors

DVHealth({Duration timeout = const Duration(seconds: 2), String? buildId})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
How long a single check may take.
final
uptime → Duration
no setter

Methods

clear() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(String name, DVHealthCheck check) → void
report() → DVHealthReport
The report without running anything, for a liveness probe that only wants to know the process is answering.
reportAsync() → Future<DVHealthReport>
Runs every check and summarises.
toString() → String
A string representation of this object.
inherited
unregister(String name) → void

Operators

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