Uses of Interface
com.github.jpmsilva.jsystemd.HealthProvider
-
Uses of HealthProvider in com.github.jpmsilva.jsystemd
Classes in com.github.jpmsilva.jsystemd that implement HealthProvider Modifier and Type Class Description class
PendingHealthProvider
Implementation ofHealthProvider
that suppresses/delays the unhealthy state of a delegate for a configurable period.class
SystemdNotifyActuatorHealthProvider
Implementation ofHealthProvider
that provides application health based on Spring Boot Actuator Health Indicators.Methods in com.github.jpmsilva.jsystemd that return types with arguments of type HealthProvider Modifier and Type Method Description Optional<HealthProvider>
Systemd. getHealthProvider()
Returns the current health provider.Methods in com.github.jpmsilva.jsystemd with parameters of type HealthProvider Modifier and Type Method Description void
Systemd. setHealthProvider(@Nullable HealthProvider provider)
Sets the current health provider, overrides any other previously set.Constructors in com.github.jpmsilva.jsystemd with parameters of type HealthProvider Constructor Description PendingHealthProvider(@NotNull HealthProvider delegate, long delay, @NotNull TemporalUnit delayUnit)
Creates a new health provider that delegates the actual work to thedelegate
, and delays reporting unhealthy status.