Package com.github.jpmsilva.jsystemd
Class NonHeapStatusProvider
java.lang.Object
com.github.jpmsilva.jsystemd.NonHeapStatusProvider
- All Implemented Interfaces:
StatusProvider
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.
The committed size is the memory the JVM currently holds for it, which it grows as needed: it is not a limit, as the non-heap memory usually has none.
The direct and mapped buffers are not part of it, and are reported by the BufferPoolStatusProvider.
- Author:
- Joao Silva
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NonHeapStatusProvider
public NonHeapStatusProvider()Create a new NonHeapStatusProvider.
-
-
Method Details
-
status
Description copied from interface:StatusProviderExposes status information to send to systemd.- Specified by:
statusin interfaceStatusProvider- Returns:
- the string message to add to the service status
-