public final class RuntimeMXBeanImpl extends DynamicMXBeanImpl implements java.lang.management.RuntimeMXBean
RuntimeMXBeaninfo| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBootClassPath()
If bootstrap class loading is supported by the virtual machine, returns a
string containing the full bootstrap class path used by the boot class
loader to locate and load class files.
|
java.lang.String |
getClassPath()
Returns the class path string used by the system class loader to locate
and load class files.
|
java.util.List<java.lang.String> |
getInputArguments()
Returns a list of all of the input arguments passed to the virtual
machine on start-up.
|
java.lang.String |
getLibraryPath()
Returns the Java library path that will be used by the virtual machine to
locate and load libraries.
|
java.lang.String |
getManagementSpecVersion()
Returns a string containing the management interface specification
version that the virtual machine meets.
|
java.lang.String |
getName()
Returns the string name of this virtual machine.
|
java.lang.String |
getSpecName()
Returns the name of the Java virtual machine specification followed by
this virtual machine.
|
java.lang.String |
getSpecVendor()
Returns the name of the Java virtual machine specification vendor.
|
java.lang.String |
getSpecVersion()
Returns the name of the Java virtual machine specification version.
|
long |
getStartTime()
Returns the time, in milliseconds, when the virtual machine was started.
|
java.util.Map<java.lang.String,java.lang.String> |
getSystemProperties()
Returns a map of the names and values of every system property known to
the virtual machine.
|
long |
getUptime()
Returns the lifetime of the virtual machine in milliseconds.
|
java.lang.String |
getVmName()
Returns the name of the Java virtual machine implementation.
|
java.lang.String |
getVmVendor()
Returns the name of the Java virtual machine implementation vendor.
|
java.lang.String |
getVmVersion()
Returns the version of the Java virtual machine implementation.
|
boolean |
isBootClassPathSupported()
Returns a boolean indication of whether or not the virtual machine
supports a bootstrap class loading mechanism.
|
getAttribute, getAttributes, getMBeanInfo, getPresentAttribute, getPresentOperation, initMBeanInfo, invoke, setAttribute, setAttributes, setMBeanInfopublic java.lang.String getBootClassPath()
java.lang.management.RuntimeMXBean
An indication of whether or not the virtual machine supports a boot class
loader mechanism can be found from invoking the
RuntimeMXBean.isBootClassPathSupported()method.
getBootClassPath in interface java.lang.management.RuntimeMXBeanpublic java.lang.String getClassPath()
java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)
supplying the value "java.class.path" for the key.getClassPath in interface java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)public java.lang.String getLibraryPath()
java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)
supplying the value "java.library.path" for the key.getLibraryPath in interface java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)public java.lang.String getManagementSpecVersion()
java.lang.management.RuntimeMXBeangetManagementSpecVersion in interface java.lang.management.RuntimeMXBeanpublic java.lang.String getName()
java.lang.management.RuntimeMXBeangetName in interface java.lang.management.RuntimeMXBeanpublic java.lang.String getSpecName()
java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)
supplying the value "java.vm.specification.name" for the key.getSpecName in interface java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)public java.lang.String getSpecVendor()
java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)supplying the value
"java.vm.specification.vendor" for the key.getSpecVendor in interface java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)public java.lang.String getSpecVersion()
java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)supplying the value
"java.vm.specification.version" for the key.getSpecVersion in interface java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)public long getStartTime()
java.lang.management.RuntimeMXBeangetStartTime in interface java.lang.management.RuntimeMXBeanpublic long getUptime()
java.lang.management.RuntimeMXBeangetUptime in interface java.lang.management.RuntimeMXBeanpublic java.lang.String getVmName()
java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)supplying the value
"java.vm.name" for the key.getVmName in interface java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)public java.lang.String getVmVendor()
java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)supplying the value
"java.vm.vendor" for the key.getVmVendor in interface java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)public java.lang.String getVmVersion()
java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)supplying the value
"java.vm.version" for the key.getVmVersion in interface java.lang.management.RuntimeMXBeanSystem.getProperty(java.lang.String)public boolean isBootClassPathSupported()
java.lang.management.RuntimeMXBeanisBootClassPathSupported in interface java.lang.management.RuntimeMXBeantrue if supported, false otherwise.public java.util.List<java.lang.String> getInputArguments()
java.lang.management.RuntimeMXBeanmain(String[] args)
method.getInputArguments in interface java.lang.management.RuntimeMXBeanpublic java.util.Map<java.lang.String,java.lang.String> getSystemProperties()
java.lang.management.RuntimeMXBeangetSystemProperties in interface java.lang.management.RuntimeMXBean