Package com.github.jpmsilva.jsystemd


@NullMarked package com.github.jpmsilva.jsystemd
Integration of Java applications with systemd, through its notification protocol.

Types are not null unless annotated as Nullable.

  • Class
    Description
    Implementation of StatusProvider that provides the memory used by the direct and mapped buffers, such as Buffers: 64.0 MiB/1.0 GiB direct (412); 2.0 GiB mapped (3).
    Implementation of StatusProvider that provides the memory used by the control group of the process, out of its limit, such as Cgroup memory: 700.0 MiB/1.0 GiB, or without the limit when there is none, such as Cgroup memory: 700.0 MiB.
    Implementation of StatusProvider that provides information regarding loaded classes.
    Implementation of StatusProvider that provides the CPU usage, such as CPU: 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.
    Base 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.
    Implementation of StatusProvider that provides information regarding a thread pool: the busy threads out of the threads in the pool, and the tasks waiting for a thread, such as workers: 3/10 threads, 5 queued.
    Provides information regarding the file descriptors of the process: as a StatusProvider, the open file descriptors out of the most the process can open, such as File descriptors: 812/65536, and as a HealthProvider, for the systemd watchdog, reporting the application as unhealthy when they are about to run out, if enabled.
    Implementation of StatusProvider that 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 as GC: 12 pauses, 0.4% of time.
    A health provider can be used to control the watchdog heartbeat.
    The health state of an application.
    Implementation of StatusProvider that provides the memory used by the heap, out of its committed size, such as Heap: 139.5 MiB/256.0 MiB.
    Implementation of StatusProvider that 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 as Non-heap: 62.7 MiB/64.1 MiB.
    Implementation of StatusProvider that 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 as Old gen after GC: 120.0 MiB/512.0 MiB.
    Implementation of StatusProvider whose status is set by the application, to report what it is doing, such as Reindexing 40% or Migrating the schema.
    Interface that represents any object that can contribute with status information regarding the running process to the service supervisor.
    The main systemd integration class.
    Low level API that sends notifications to systemd, through the socket in the environment variable NOTIFY_SOCKET.
    Provides information regarding the live threads: as a StatusProvider, the number of threads by state, and the number of deadlocked threads, if any, for the systemd status, and as a HealthProvider, for the systemd watchdog, reporting the application as unhealthy under the health conditions it is configured with.