com.ibm.lang.management

Class ClassLoadingMXBeanImpl

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

  1. public final class ClassLoadingMXBeanImpl
  2. extends DynamicMXBeanImpl
  3. implements java.lang.management.ClassLoadingMXBean
Runtime type for ClassLoadingMXBean.

There is only ever one instance of this class in a virtual machine.

Since:
1.5

Field Summary

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

Method Summary

Modifier and Type Method and Description
  1. int
getLoadedClassCount()
  1. long
getTotalLoadedClassCount()
  1. long
getUnloadedClassCount()
  1. boolean
isVerbose()
  1. void
setVerbose(boolean value)
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

getLoadedClassCount

  1. public int getLoadedClassCount( )

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

Returns the number of classes currently loaded by the virtual machine.
Specified by:
getLoadedClassCount in interface java.lang.management.ClassLoadingMXBean
Returns:
the number of loaded classes

getTotalLoadedClassCount

  1. public long getTotalLoadedClassCount( )

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

Returns a figure for the total number of classes that have been loaded by the virtual machine during its lifetime.
Specified by:
getTotalLoadedClassCount in interface java.lang.management.ClassLoadingMXBean
Returns:
the total number of classes that have been loaded

getUnloadedClassCount

  1. public long getUnloadedClassCount( )

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

Returns a figure for the total number of classes that have been unloaded by the virtual machine over its lifetime.
Specified by:
getUnloadedClassCount in interface java.lang.management.ClassLoadingMXBean
Returns:
the total number of unloaded classes

isVerbose

  1. public boolean isVerbose()

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

Returns a boolean indication of whether the virtual machine's class loading system is producing verbose output.
Specified by:
isVerbose in interface java.lang.management.ClassLoadingMXBean
Returns:
true if running in verbose mode

setVerbose

  1. public void setVerbose(boolean value)

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

Updates the virtual machine's class loading system to operate in verbose or non-verbose mode.
Specified by:
setVerbose in interface java.lang.management.ClassLoadingMXBean
Parameters:
value - true to put the class loading system into verbose mode, false to take the class loading system out of verbose mode.