public interface RuntimeMXBean extends RuntimeMXBean
Modifier and Type | Interface and Description |
---|---|
static class |
RuntimeMXBean.VMIdleStates
enum type defines the different states of the VM Idle
|
Modifier and Type | Method and Description |
---|---|
double |
getCPULoad()
Returns a double value which holds the system load average calculated for
the minute preceding the call, where system load average is taken
to mean the following:
|
long |
getProcessID()
Returns the native process identifier that identifies the current
Java process to the operating system.
|
double |
getVMGeneratedCPULoad()
Returns a system load average calculated over the minute preceding
the call averaged over the number of CPU available to Java virtual
machine process.
|
String |
getVmId()
This is provided for the benefit of applications which use attach API to load JVMTI agents
into their own JVMs.
|
RuntimeMXBean.VMIdleStates |
getVMIdleState()
Returns current JVM Idle state.
|
boolean |
isAttachApiInitialized()
Query the state of the Attach API.
|
boolean |
isAttachApiTerminated()
Query the state of the Attach API.
|
boolean |
isVMIdle() |
getBootClassPath, getClassPath, getInputArguments, getLibraryPath, getManagementSpecVersion, getName, getSpecName, getSpecVendor, getSpecVersion, getStartTime, getSystemProperties, getUptime, getVmName, getVmVendor, getVmVersion, isBootClassPathSupported
getObjectName
double getCPULoad()
The time-averaged value of the sum of the number of runnable entities running on the available processors and the number of runnable entities ready and queued to run on the available processors. The averaging technique adopted can vary depending on the underlying operating system.
OperatingSystemMXBean.getSystemLoadAverage()
long getProcessID()
double getVMGeneratedCPULoad()
RuntimeMXBean.VMIdleStates getVMIdleState()
boolean isVMIdle()
boolean isAttachApiInitialized()
boolean isAttachApiTerminated()
String getVmId()
Link to Eclipse OpenJ9 documentation.
To raise a bug report or suggest an improvement create an Eclipse Openj9 issue.
Copyright © 1993, 2020, IBM Corp. All rights reserved.