Uses of Interface
com.github.jpmsilva.jsystemd.StatusProvider
Packages that use StatusProvider
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 StatusProvider in com.github.jpmsilva.jsystemd
Classes in com.github.jpmsilva.jsystemd that implement StatusProviderModifier and TypeClassDescriptionclassImplementation ofStatusProviderthat provides the memory used by the direct and mapped buffers, such asBuffers: 64.0 MiB/1.0 GiB direct (412); 2.0 GiB mapped (3).classImplementation ofStatusProviderthat provides the memory used by the control group of the process, out of its limit, such asCgroup memory: 700.0 MiB/1.0 GiB, or without the limit when there is none, such asCgroup memory: 700.0 MiB.classImplementation ofStatusProviderthat provides information regarding loaded classes.classImplementation ofStatusProviderthat provides the CPU usage, such asCPU: 12.5% process; 40.1% system; load 1.20: the share of the available processors the process used since the status was last read, or since this provider was created, the recent CPU usage of the whole system, and the system load average over the last minute.classImplementation ofStatusProviderthat provides information regarding a thread pool: the busy threads out of the threads in the pool, and the tasks waiting for a thread, such asworkers: 3/10 threads, 5 queued.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.classImplementation ofStatusProviderthat provides the garbage collection pauses since the status was last read, or since this provider was created: how many there were, and the share of the time they took, such asGC: 12 pauses, 0.4% of time.classImplementation ofStatusProviderthat provides the memory used by the heap, out of its committed size, such asHeap: 139.5 MiB/256.0 MiB.classImplementation ofStatusProviderthat provides the memory used outside of the heap by the JVM, such as by the metaspace and the code cache, out of its committed size, such asNon-heap: 62.7 MiB/64.1 MiB.classImplementation ofStatusProviderthat provides the memory used by the old generation of the heap after the last garbage collection, out of its maximum size (or its committed size, when it has no maximum), such asOld gen after GC: 120.0 MiB/512.0 MiB.classImplementation ofStatusProviderwhose status is set by the application, to report what it is doing, such asReindexing 40%orMigrating the schema.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 StatusProviderModifier and TypeMethodDescriptionSystemd.getStatusProviders()Returns a read only snapshot of the current providers.Methods in com.github.jpmsilva.jsystemd with parameters of type StatusProviderModifier and TypeMethodDescriptionvoidSystemd.addStatusProviders(int index, StatusProvider... providers) Adds the status providers to the list of providers in the specified position.voidSystemd.addStatusProviders(StatusProvider... providers) Adds the status providers to the end of the list of providers.voidSystemd.removeStatusProviders(StatusProvider... providers) Removes the status providers from the list of providers.Method parameters in com.github.jpmsilva.jsystemd with type arguments of type StatusProviderModifier and TypeMethodDescriptionvoidSystemd.addStatusProviders(int index, List<StatusProvider> providers) Adds the status providers to the list of providers in the specified position.voidSystemd.addStatusProviders(List<StatusProvider> providers) Adds the status providers to the end of the list of providers.voidSystemd.removeStatusProviders(List<StatusProvider> providers) Removes the status providers from the list of providers. -
Uses of StatusProvider in com.github.jpmsilva.jsystemd.spring
Classes in com.github.jpmsilva.jsystemd.spring that implement StatusProviderModifier 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.classImplementation ofStatusProviderthat provides information regarding the bean creation progress of a bean factory.classImplementation ofStatusProviderthat provides information regarding the Spring Boot application startup sequence state.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.classImplementation ofStatusProviderthat provides information regarding the embedded Jetty servers of the application.classImplementation ofStatusProviderthat provides the progress of the Liquibase database migrations run on startup, such asLiquibase: applying changeset 042-add-index (41 applied).classImplementation ofStatusProviderthat provides information regarding the embedded Reactor Netty servers of the application.classImplementation ofStatusProviderthat provides the stage the application is at while it shuts down, such asShutdown: waiting for active requests, so that a slow shutdown can be told apart from a hung one withsystemctl status.classImplementation ofStatusProviderthat provides information regarding the thread pools of the task executors and schedulers of the application, such as the ones Spring Boot sets up for@Asyncand@Scheduledmethods, each reported by anExecutorStatusProvidernamed after its bean, such asapplicationTaskExecutor: 2/8 threads, 5 queued, taskScheduler: 1/1 threads, 3 scheduled.classImplementation ofStatusProviderthat provides information regarding the connectors of the embedded Tomcat servers of the application.