| Modifier and Type | Class and Description |
|---|---|
| private abstract class | |
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final Metrics | |
| private static final int | |
| private OperatingSystemImpl. | |
| private OperatingSystemImpl. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | getCommittedVirtualMemorySize()
Implements com. Returns the amount of virtual memory that is guaranteed to
be available to the running process in bytes,
or |
| private native long | |
| public double | getCpuLoad()
Implements com. Returns the "recent CPU usage" for the operating environment. |
| private native double | |
| public long | getFreeMemorySize()
Implements com. Returns the amount of free memory in bytes. |
| private native long | |
| public long | getFreeSwapSpaceSize()
Implements com. Returns the amount of free swap space in bytes. |
| private native long | |
| private native int | |
| private native int | |
| private native long | |
| public long | getMaxFileDescriptorCount()
Implements com. Returns the maximum number of file descriptors. |
| private native long | |
| public long | getOpenFileDescriptorCount()
Implements com. Returns the number of open file descriptors. |
| private native long | |
| public double | getProcessCpuLoad()
Implements com. Returns the "recent CPU usage" for the Java Virtual Machine process. |
| private native double | |
| public long | getProcessCpuTime()
Implements com. Returns the CPU time used by the process on which the Java virtual machine is running in nanoseconds. |
| private native long | |
| private native double | |
| public long | getTotalMemorySize()
Implements com. Returns the total amount of memory in bytes. |
| private native long | |
| public long | getTotalSwapSpaceSize()
Implements com. Returns the total amount of swap space in bytes. |
| private native long | |
| private static native void | |
| private boolean |
| containerMetrics | back to summary |
|---|---|
| private final Metrics containerMetrics | |
| MAX_ATTEMPTS_NUMBER | back to summary |
|---|---|
| private static final int MAX_ATTEMPTS_NUMBER | |
| processLoadTicks | back to summary |
|---|---|
| private OperatingSystemImpl. | |
| systemLoadTicks | back to summary |
|---|---|
| private OperatingSystemImpl. | |
| OperatingSystemImpl | back to summary |
|---|---|
| pack-priv OperatingSystemImpl(VMManagement vm) | |
| getCommittedVirtualMemorySize | back to summary |
|---|---|
| public long getCommittedVirtualMemorySize() Implements com. Doc from com. Returns the amount of virtual memory that is guaranteed to
be available to the running process in bytes,
or | |
| getCommittedVirtualMemorySize0 | back to summary |
|---|---|
| private native long getCommittedVirtualMemorySize0() | |
| getCpuLoad | back to summary |
|---|---|
| public double getCpuLoad() Implements com. Doc from com. Returns the "recent CPU usage" for the operating environment. This value
is a double in the [0.0,1.0] interval. A value of 0.0 means that all CPUs
were idle during the recent period of time observed, while a value
of 1.0 means that all CPUs were actively running 100% of the time
during the recent period being observed.
The recent period of observation is implementation-specific, and
typically relates to the duration since the last call made to this
method, or | |
| getCpuLoad0 | back to summary |
|---|---|
| private native double getCpuLoad0() | |
| getFreeMemorySize | back to summary |
|---|---|
| public long getFreeMemorySize() Implements com. Doc from com. Returns the amount of free memory in bytes. | |
| getFreeMemorySize0 | back to summary |
|---|---|
| private native long getFreeMemorySize0() | |
| getFreeSwapSpaceSize | back to summary |
|---|---|
| public long getFreeSwapSpaceSize() Implements com. Doc from com. Returns the amount of free swap space in bytes. | |
| getFreeSwapSpaceSize0 | back to summary |
|---|---|
| private native long getFreeSwapSpaceSize0() | |
| getHostConfiguredCpuCount0 | back to summary |
|---|---|
| private native int getHostConfiguredCpuCount0() | |
| getHostOnlineCpuCount0 | back to summary |
|---|---|
| private native int getHostOnlineCpuCount0() | |
| getHostTotalCpuTicks0 | back to summary |
|---|---|
| private native long getHostTotalCpuTicks0() | |
| getMaxFileDescriptorCount | back to summary |
|---|---|
| public long getMaxFileDescriptorCount() Implements com. Doc from com. Returns the maximum number of file descriptors. | |
| getMaxFileDescriptorCount0 | back to summary |
|---|---|
| private native long getMaxFileDescriptorCount0() | |
| getOpenFileDescriptorCount | back to summary |
|---|---|
| public long getOpenFileDescriptorCount() Implements com. Doc from com. Returns the number of open file descriptors. | |
| getOpenFileDescriptorCount0 | back to summary |
|---|---|
| private native long getOpenFileDescriptorCount0() | |
| getProcessCpuLoad | back to summary |
|---|---|
| public double getProcessCpuLoad() Implements com. Doc from com. Returns the "recent CPU usage" for the Java Virtual Machine process. This value is a double in the [0.0,1.0] interval. A value of 0.0 means that none of the CPUs were running threads from the JVM process during the recent period of time observed, while a value of 1.0 means that all CPUs were actively running threads from the JVM 100% of the time during the recent period being observed. Threads from the JVM include the application threads as well as the JVM internal threads. The recent period of observation is implementation-specific, and typically relates to the duration since the last call made to this method. For the very first invocation, the recent period of observation is undefined. All values between 0.0 and 1.0 are possible dependent on the activities going on in the JVM process and the whole system. If the Java Virtual Machine recent CPU usage is not available, the method returns a negative value. | |
| getProcessCpuLoad0 | back to summary |
|---|---|
| private native double getProcessCpuLoad0() | |
| getProcessCpuTime | back to summary |
|---|---|
| public long getProcessCpuTime() Implements com. Doc from com. Returns the CPU time used by the process on which the Java
virtual machine is running in nanoseconds. The returned value
is of nanoseconds precision but not necessarily nanoseconds
accuracy. This method returns | |
| getProcessCpuTime0 | back to summary |
|---|---|
| private native long getProcessCpuTime0() | |
| getSingleCpuLoad0 | back to summary |
|---|---|
| private native double getSingleCpuLoad0(int cpuNum) | |
| getTotalMemorySize | back to summary |
|---|---|
| public long getTotalMemorySize() Implements com. Doc from com. Returns the total amount of memory in bytes. | |
| getTotalMemorySize0 | back to summary |
|---|---|
| private native long getTotalMemorySize0() | |
| getTotalSwapSpaceSize | back to summary |
|---|---|
| public long getTotalSwapSpaceSize() Implements com. Doc from com. Returns the total amount of swap space in bytes. | |
| getTotalSwapSpaceSize0 | back to summary |
|---|---|
| private native long getTotalSwapSpaceSize0() | |
| initialize0 | back to summary |
|---|---|
| private static native void initialize0() | |
| isCpuSetSameAsHostCpuSet | back to summary |
|---|---|
| private boolean isCpuSetSameAsHostCpuSet() | |
| Modifier and Type | Field and Description |
|---|---|
| private volatile long | |
| private volatile long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract ToDoubleFunction | |
| protected abstract LongSupplier | |
| protected abstract DoubleSupplier | |
| public double | |
| private double |
| totalTicks | back to summary |
|---|---|
| private volatile long totalTicks | |
| usageTicks | back to summary |
|---|---|
| private volatile long usageTicks | |
| ContainerCpuTicks | back to summary |
|---|---|
| private ContainerCpuTicks() | |
| cpuSetCalc | back to summary |
|---|---|
| protected abstract ToDoubleFunction | |
| cpuUsageSupplier | back to summary |
|---|---|
| protected abstract LongSupplier cpuUsageSupplier() | |
| defaultCpuLoadSupplier | back to summary |
|---|---|
| protected abstract DoubleSupplier defaultCpuLoadSupplier() | |
| getContainerCpuLoad | back to summary |
|---|---|
| public double getContainerCpuLoad() | |
| getUsageDividesTotal | back to summary |
|---|---|
| private double getUsageDividesTotal(long usageTicks, long totalTicks) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected ToDoubleFunction | cpuSetCalc()
Implements abstract com.
|
| protected LongSupplier | |
| protected DoubleSupplier |
| ProcessCpuTicks | back to summary |
|---|---|
| private ProcessCpuTicks() | |
| cpuSetCalc | back to summary |
|---|---|
| protected ToDoubleFunction Implements abstract com.
| |
| cpuUsageSupplier | back to summary |
|---|---|
| protected LongSupplier cpuUsageSupplier() Implements abstract com.
| |
| defaultCpuLoadSupplier | back to summary |
|---|---|
| protected DoubleSupplier defaultCpuLoadSupplier() Implements abstract com.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected ToDoubleFunction | cpuSetCalc()
Implements abstract com.
|
| protected LongSupplier | |
| protected DoubleSupplier |
| SystemCpuTicks | back to summary |
|---|---|
| private SystemCpuTicks() | |
| cpuSetCalc | back to summary |
|---|---|
| protected ToDoubleFunction Implements abstract com.
| |
| cpuUsageSupplier | back to summary |
|---|---|
| protected LongSupplier cpuUsageSupplier() Implements abstract com.
| |
| defaultCpuLoadSupplier | back to summary |
|---|---|
| protected DoubleSupplier defaultCpuLoadSupplier() Implements abstract com.
| |