Package com.github.jpmsilva.jsystemd
Interface HealthProvider
- All Known Implementing Classes:
PendingHealthProvider
,SystemdNotifyActuatorHealthProvider
public interface HealthProvider
A health provider can be used to control the watchdog heartbeat. An unhealthy state does not trigger the heartbeat.
- Author:
- Christian Lorenz
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
HealthProvider.Health
Wrapper of health state. -
Method Summary
Modifier and Type Method Description HealthProvider.Health
health()
Determines if an application is healthy.
-
Method Details
-
health
HealthProvider.Health health()Determines if an application is healthy.- Returns:
- true if application is healthy, otherwise false
-