Uses of Interface
com.github.jpmsilva.jsystemd.HealthProvider
Packages that use HealthProvider
Package
Description
Integration of Java applications with systemd, through its notification protocol.
The building blocks of the integration of Spring Boot applications with systemd.
-
Uses of HealthProvider in com.github.jpmsilva.jsystemd
Classes in com.github.jpmsilva.jsystemd that implement HealthProviderModifier and TypeClassDescriptionclassBase class for the health providers that support delaying their unhealthy state: while the delay has not elapsed since the application became unhealthy, it is reported as healthy, so that the systemd watchdog does not restart it on short outages.classProvides information regarding the file descriptors of the process: as aStatusProvider, the open file descriptors out of the most the process can open, such asFile descriptors: 812/65536, and as aHealthProvider, for the systemd watchdog, reporting the application as unhealthy when they are about to run out, if enabled.classProvides information regarding the live threads: as aStatusProvider, the number of threads by state, and the number of deadlocked threads, if any, for the systemd status, and as aHealthProvider, for the systemd watchdog, reporting the application as unhealthy under the health conditions it is configured with.Methods in com.github.jpmsilva.jsystemd that return types with arguments of type HealthProviderModifier and TypeMethodDescriptionSystemd.getHealthProviders()Returns a read only snapshot of the current health providers.Methods in com.github.jpmsilva.jsystemd with parameters of type HealthProviderModifier and TypeMethodDescriptionvoidSystemd.addHealthProviders(int index, HealthProvider... providers) Adds the health providers to the list of health providers in the specified position.voidSystemd.addHealthProviders(HealthProvider... providers) Adds the health providers to the end of the list of health providers.voidSystemd.removeHealthProviders(HealthProvider... providers) Removes the health providers from the list of health providers.Method parameters in com.github.jpmsilva.jsystemd with type arguments of type HealthProviderModifier and TypeMethodDescriptionvoidSystemd.addHealthProviders(int index, List<HealthProvider> providers) Adds the health providers to the list of health providers in the specified position.voidSystemd.addHealthProviders(List<HealthProvider> providers) Adds the health providers to the end of the list of health providers.voidSystemd.removeHealthProviders(List<HealthProvider> providers) Removes the health providers from the list of health providers. -
Uses of HealthProvider in com.github.jpmsilva.jsystemd.spring
Classes in com.github.jpmsilva.jsystemd.spring that implement HealthProviderModifier and TypeClassDescriptionclassProvides the application health based on Spring Boot Actuator health contributors: as aHealthProvider, for the systemd watchdog, and as aStatusProvider, for the systemd status.classProvides the availability of the application, as Spring Boot reports it with itsAvailabilityChangeEvent: as aStatusProvider, whether it is live, and whether it is ready to accept traffic, such asLiveness: correct; readiness: accepting traffic, and as aHealthProvider, for the systemd watchdog, reporting the application as unhealthy while its liveness is broken, if enabled.classProvides information regarding the HikariCP connection pools of the application: as aStatusProvider, for each pool, named after its data source bean, the connections in use out of the most the pool opens, and the threads waiting for a connection, such asdataSource: 7/10 connections, 3 waiting, and as aHealthProvider, for the systemd watchdog, reporting the application as unhealthy while a pool is starved, if enabled.