Interface WritableHealthCheckRepository
- All Superinterfaces:
HasHealthChecks, HasId, HealthCheckRepository
An interface to represent an object which wishes to be injected with the
HealthCheck-
Method Summary
Modifier and TypeMethodDescriptionvoidaddHealthCheck(HealthCheck healthCheck) Adds aHealthCheckto the repository.voidremoveHealthCheck(HealthCheck healthCheck) Removes aHealthCheckfrom the repository.Methods inherited from interface HasHealthChecks
streamMethods inherited from interface HealthCheckRepository
getCheck, isEnabled, setEnabled
-
Method Details
-
addHealthCheck
Adds aHealthCheckto the repository. -
removeHealthCheck
Removes aHealthCheckfrom the repository.
-