com.ibm.lang.management

Class RuntimeMXBeanImpl

  1. java.lang.Object
  2. extended bycom.ibm.lang.management.DynamicMXBeanImpl
  3. extended bycom.ibm.lang.management.RuntimeMXBeanImpl
All implemented interfaces:
java.lang.management.RuntimeMXBean, javax.management.DynamicMBean

  1. public final class RuntimeMXBeanImpl
  2. extends DynamicMXBeanImpl
  3. implements java.lang.management.RuntimeMXBean
Runtime type for RuntimeMXBean
Since:
1.5

Field Summary

Fields inherited from class com.ibm.lang.management.DynamicMXBeanImpl
info

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getBootClassPath()
  1. java.lang.String
getClassPath()
  1. java.util.List<java.lang.String>
getInputArguments()
  1. java.lang.String
getLibraryPath()
  1. java.lang.String
getManagementSpecVersion()
  1. java.lang.String
getName()
  1. java.lang.String
getSpecName()
  1. java.lang.String
getSpecVendor()
  1. java.lang.String
getSpecVersion()
  1. long
getStartTime()
  1. java.util.Map<java.lang.String,java.lang.String>
getSystemProperties()
  1. long
getUptime()
  1. java.lang.String
getVmName()
  1. java.lang.String
getVmVendor()
  1. java.lang.String
getVmVersion()
  1. boolean
isBootClassPathSupported()
Methods inherited from class com.ibm.lang.management.DynamicMXBeanImpl
getAttribute, getAttributes, getMBeanInfo, getPresentAttribute, getPresentOperation, initMBeanInfo, invoke, setAttribute, setAttributes, setMBeanInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getBootClassPath

  1. public java.lang.String getBootClassPath( )

Description copied from interface: java.lang.management.RuntimeMXBean

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.

An indication of whether or not the virtual machine supports a boot class loader mechanism can be found from invoking the RuntimeMXBean.isBootClassPathSupported()method.

Specified by:
getBootClassPath in interface java.lang.management.RuntimeMXBean
Returns:
the bootstrap classpath with each entry separated by the path separator character corresponding to the underlying operating system.

getClassPath

  1. public java.lang.String getClassPath( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the class path string used by the system class loader to locate and load class files. The value is identical to that which would be obtained from a call to System.getProperty(java.lang.String) supplying the value "java.class.path" for the key.
Specified by:
getClassPath in interface java.lang.management.RuntimeMXBean
Returns:
the system classpath with each entry separated by the path separator character corresponding to the underlying operating system.
See Also:
System.getProperty(java.lang.String)

getLibraryPath

  1. public java.lang.String getLibraryPath( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the Java library path that will be used by the virtual machine to locate and load libraries. The value is identical to that which would be obtained from a call to System.getProperty(java.lang.String) supplying the value "java.library.path" for the key.
Specified by:
getLibraryPath in interface java.lang.management.RuntimeMXBean
Returns:
the Java library path with each entry separated by the path separator character corresponding to the underlying operating system.
See Also:
System.getProperty(java.lang.String)

getManagementSpecVersion

  1. public java.lang.String getManagementSpecVersion( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns a string containing the management interface specification version that the virtual machine meets.
Specified by:
getManagementSpecVersion in interface java.lang.management.RuntimeMXBean
Returns:
the version of the management interface specification adhered to by the virtual machine.

getName

  1. public java.lang.String getName( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the string name of this virtual machine. This value may be different for each particular running virtual machine.
Specified by:
getName in interface java.lang.management.RuntimeMXBean
Returns:
the name of this running virtual machine.

getSpecName

  1. public java.lang.String getSpecName( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the name of the Java virtual machine specification followed by this virtual machine. The value is identical to that which would be obtained from a call to System.getProperty(java.lang.String) supplying the value "java.vm.specification.name" for the key.
Specified by:
getSpecName in interface java.lang.management.RuntimeMXBean
Returns:
the name of the Java virtual machine specification.
See Also:
System.getProperty(java.lang.String)

getSpecVendor

  1. public java.lang.String getSpecVendor( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the name of the Java virtual machine specification vendor. The value is identical to that which would be obtained from a call to System.getProperty(java.lang.String)supplying the value "java.vm.specification.vendor" for the key.
Specified by:
getSpecVendor in interface java.lang.management.RuntimeMXBean
Returns:
the name of the Java virtual machine specification vendor.
See Also:
System.getProperty(java.lang.String)

getSpecVersion

  1. public java.lang.String getSpecVersion( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the name of the Java virtual machine specification version. The value is identical to that which would be obtained from a call to System.getProperty(java.lang.String)supplying the value "java.vm.specification.version" for the key.
Specified by:
getSpecVersion in interface java.lang.management.RuntimeMXBean
Returns:
the Java virtual machine specification version.
See Also:
System.getProperty(java.lang.String)

getStartTime

  1. public long getStartTime()

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the time, in milliseconds, when the virtual machine was started.
Specified by:
getStartTime in interface java.lang.management.RuntimeMXBean
Returns:
the virtual machine start time in milliseconds.

getUptime

  1. public long getUptime()

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the lifetime of the virtual machine in milliseconds.
Specified by:
getUptime in interface java.lang.management.RuntimeMXBean
Returns:
the number of milliseconds the virtual machine has been running.

getVmName

  1. public java.lang.String getVmName( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the name of the Java virtual machine implementation. The value is identical to that which would be obtained from a call to System.getProperty(java.lang.String)supplying the value "java.vm.name" for the key.
Specified by:
getVmName in interface java.lang.management.RuntimeMXBean
Returns:
the name of the Java virtual machine implementation.
See Also:
System.getProperty(java.lang.String)

getVmVendor

  1. public java.lang.String getVmVendor( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the name of the Java virtual machine implementation vendor. The value is identical to that which would be obtained from a call to System.getProperty(java.lang.String)supplying the value "java.vm.vendor" for the key.
Specified by:
getVmVendor in interface java.lang.management.RuntimeMXBean
Returns:
the name of the Java virtual machine implementation vendor.
See Also:
System.getProperty(java.lang.String)

getVmVersion

  1. public java.lang.String getVmVersion( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns the version of the Java virtual machine implementation. The value is identical to that which would be obtained from a call to System.getProperty(java.lang.String)supplying the value "java.vm.version" for the key.
Specified by:
getVmVersion in interface java.lang.management.RuntimeMXBean
Returns:
the version of the Java virtual machine implementation.
See Also:
System.getProperty(java.lang.String)

isBootClassPathSupported

  1. public boolean isBootClassPathSupported( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns a boolean indication of whether or not the virtual machine supports a bootstrap class loading mechanism.
Specified by:
isBootClassPathSupported in interface java.lang.management.RuntimeMXBean
Returns:
true if supported, false otherwise.

getInputArguments

  1. public java.util.List<java.lang.String> getInputArguments( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns a list of all of the input arguments passed to the virtual machine on start-up. This will not include any input arguments that are passed into the application's main(String[] args) method.
Specified by:
getInputArguments in interface java.lang.management.RuntimeMXBean
Returns:
a list of strings, each one containing an argument to the virtual machine. If no virtual machine arguments were passed in at start-up time then this will be an empty list.

getSystemProperties

  1. public java.util.Map<java.lang.String,java.lang.String> getSystemProperties( )

Description copied from interface: java.lang.management.RuntimeMXBean

Returns a map of the names and values of every system property known to the virtual machine.
Specified by:
getSystemProperties in interface java.lang.management.RuntimeMXBean
Returns:
a map containing the names and values of every system property.