public final class RuntimeMXBeanImpl extends DynamicMXBeanImpl implements java.lang.management.RuntimeMXBean
RuntimeMXBean
info
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, setMBeanInfo
public 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.RuntimeMXBean
public java.lang.String getClassPath()
java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
supplying the value "java.class.path" for the key.getClassPath
in interface java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
public java.lang.String getLibraryPath()
java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
supplying the value "java.library.path" for the key.getLibraryPath
in interface java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
public java.lang.String getManagementSpecVersion()
java.lang.management.RuntimeMXBean
getManagementSpecVersion
in interface java.lang.management.RuntimeMXBean
public java.lang.String getName()
java.lang.management.RuntimeMXBean
getName
in interface java.lang.management.RuntimeMXBean
public java.lang.String getSpecName()
java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
supplying the value "java.vm.specification.name" for the key.getSpecName
in interface java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
public java.lang.String getSpecVendor()
java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
supplying the value
"java.vm.specification.vendor" for the key.getSpecVendor
in interface java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
public java.lang.String getSpecVersion()
java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
supplying the value
"java.vm.specification.version" for the key.getSpecVersion
in interface java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
public long getStartTime()
java.lang.management.RuntimeMXBean
getStartTime
in interface java.lang.management.RuntimeMXBean
public long getUptime()
java.lang.management.RuntimeMXBean
getUptime
in interface java.lang.management.RuntimeMXBean
public java.lang.String getVmName()
java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
supplying the value
"java.vm.name" for the key.getVmName
in interface java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
public java.lang.String getVmVendor()
java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
supplying the value
"java.vm.vendor" for the key.getVmVendor
in interface java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
public java.lang.String getVmVersion()
java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
supplying the value
"java.vm.version" for the key.getVmVersion
in interface java.lang.management.RuntimeMXBean
System.getProperty(java.lang.String)
public boolean isBootClassPathSupported()
java.lang.management.RuntimeMXBean
isBootClassPathSupported
in interface java.lang.management.RuntimeMXBean
true
if supported, false
otherwise.public java.util.List<java.lang.String> getInputArguments()
java.lang.management.RuntimeMXBean
main(String[] args)
method.getInputArguments
in interface java.lang.management.RuntimeMXBean
public java.util.Map<java.lang.String,java.lang.String> getSystemProperties()
java.lang.management.RuntimeMXBean
getSystemProperties
in interface java.lang.management.RuntimeMXBean