| Modifier and Type | Field and Description |
|---|---|
| private final VMManagement | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | getBootClassPath()
Implements java. Returns the boot class path that is used by the bootstrap class loader to search for class files. |
| public String | getClassPath()
Implements java. Returns the Java class path that is used by the system class loader to search for class files. |
| public List | getInputArguments()
Implements java. Returns the input arguments passed to the Java virtual machine
which does not include the arguments to the |
| public String | getLibraryPath()
Implements java. Returns the Java library path. |
| public String | getManagementSpecVersion()
Implements java. Returns the version of the specification for the management interface implemented by the running Java virtual machine. |
| public String | getName()
Implements java. Returns the name representing the running Java virtual machine. |
| public ObjectName | getObjectName()
Implements java. Returns an |
| public String | getSpecName()
Implements java. Returns the Java virtual machine specification name. |
| public String | getSpecVendor()
Implements java. Returns the Java virtual machine specification vendor. |
| public String | getSpecVersion()
Implements java. Returns the Java virtual machine specification version. |
| public long | getStartTime()
Implements java. Returns the start time of the Java virtual machine in milliseconds. |
| public Map | getSystemProperties()
Implements java. Returns a map of names and values of all system properties. |
| public long | getUptime()
Implements java. Returns the uptime of the Java virtual machine in milliseconds. |
| public String | getVmName()
Implements java. Returns the Java virtual machine implementation name. |
| public String | getVmVendor()
Implements java. Returns the Java virtual machine implementation vendor. |
| public String | getVmVersion()
Implements java. Returns the Java virtual machine implementation version. |
| public boolean | isBootClassPathSupported()
Implements java. Tests if the Java virtual machine supports the boot class path mechanism used by the bootstrap class loader to search for class files. |
| jvm | back to summary |
|---|---|
| private final VMManagement jvm | |
| vmStartupTime | back to summary |
|---|---|
| private final long vmStartupTime | |
| RuntimeImpl | back to summary |
|---|---|
| pack-priv RuntimeImpl(VMManagement vm) Constructor of RuntimeImpl class. | |
| getBootClassPath | back to summary |
|---|---|
| public String getBootClassPath() Implements java. Doc from java. Returns the boot class path that is used by the bootstrap class loader to search for class files. Multiple paths in the boot class path are separated by the path separator character of the platform on which the Java virtual machine is running. A Java virtual machine implementation may not support
the boot class path mechanism for the bootstrap class loader
to search for class files.
The | |
| getClassPath | back to summary |
|---|---|
| public String getClassPath() Implements java. Doc from java. Returns the Java class path that is used by the system class loader
to search for class files.
This method is equivalent to Multiple paths in the Java class path are separated by the path separator character of the platform of the Java virtual machine being monitored. | |
| getInputArguments | back to summary |
|---|---|
| public List Implements java. Doc from java. Returns the input arguments passed to the Java virtual machine
which does not include the arguments to the Some Java virtual machine implementations may take input arguments from multiple different sources: for examples, arguments passed from the application that launches the Java virtual machine such as the 'java' command, environment variables, configuration files, etc. Typically, not all command-line options to the 'java' command are passed to the Java virtual machine. Thus, the returned input arguments may not include all command-line options.
MBeanServer access: | |
| getLibraryPath | back to summary |
|---|---|
| public String getLibraryPath() Implements java. Doc from java. Returns the Java library path.
This method is equivalent to Multiple paths in the Java library path are separated by the path separator character of the platform of the Java virtual machine being monitored. | |
| getManagementSpecVersion | back to summary |
|---|---|
| public String getManagementSpecVersion() Implements java. Doc from java. Returns the version of the specification for the management interface implemented by the running Java virtual machine. | |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Doc from java. Returns the name representing the running Java virtual machine. The returned name string can be any arbitrary string and a Java virtual machine implementation can choose to embed platform-specific useful information in the returned name string. Each running virtual machine could have a different name. | |
| getObjectName | back to summary |
|---|---|
| public ObjectName getObjectName() Implements java. Doc from java. Returns an | |
| getSpecName | back to summary |
|---|---|
| public String getSpecName() Implements java. Doc from java. Returns the Java virtual machine specification name.
This method is equivalent to | |
| getSpecVendor | back to summary |
|---|---|
| public String getSpecVendor() Implements java. Doc from java. Returns the Java virtual machine specification vendor.
This method is equivalent to | |
| getSpecVersion | back to summary |
|---|---|
| public String getSpecVersion() Implements java. Doc from java. Returns the Java virtual machine specification version.
This method is equivalent to | |
| getStartTime | back to summary |
|---|---|
| public long getStartTime() Implements java. Doc from java. Returns the start time of the Java virtual machine in milliseconds. This method returns the approximate time when the Java virtual machine started. | |
| getSystemProperties | back to summary | ||||||
|---|---|---|---|---|---|---|---|
| public Map Implements java. Doc from java. Returns a map of names and values of all system properties.
This method calls
MBeanServer access:
| |||||||
| getUptime | back to summary |
|---|---|
| public long getUptime() Implements java. Doc from java. Returns the uptime of the Java virtual machine in milliseconds. | |
| getVmName | back to summary |
|---|---|
| public String getVmName() Implements java. Doc from java. Returns the Java virtual machine implementation name.
This method is equivalent to | |
| getVmVendor | back to summary |
|---|---|
| public String getVmVendor() Implements java. Doc from java. Returns the Java virtual machine implementation vendor.
This method is equivalent to | |
| getVmVersion | back to summary |
|---|---|
| public String getVmVersion() Implements java. Doc from java. Returns the Java virtual machine implementation version.
This method is equivalent to | |
| isBootClassPathSupported | back to summary |
|---|---|
| public boolean isBootClassPathSupported() Implements java. Doc from java. Tests if the Java virtual machine supports the boot class path mechanism used by the bootstrap class loader to search for class files. | |