public final class ClassLoadingMXBeanImpl extends DynamicMXBeanImpl implements java.lang.management.ClassLoadingMXBean
ClassLoadingMXBean.
There is only ever one instance of this class in a virtual machine.
info| Modifier and Type | Method and Description |
|---|---|
int |
getLoadedClassCount()
Returns the number of classes currently loaded by the virtual machine.
|
long |
getTotalLoadedClassCount()
Returns a figure for the total number of classes that have been
loaded by the virtual machine during its lifetime.
|
long |
getUnloadedClassCount()
Returns a figure for the total number of classes that have
been unloaded by the virtual machine over its lifetime.
|
boolean |
isVerbose()
Returns a boolean indication of whether the virtual
machine's class loading system is producing verbose output.
|
void |
setVerbose(boolean value)
Updates the virtual machine's class loading system to
operate in verbose or non-verbose mode.
|
getAttribute, getAttributes, getMBeanInfo, getPresentAttribute, getPresentOperation, initMBeanInfo, invoke, setAttribute, setAttributes, setMBeanInfopublic int getLoadedClassCount()
java.lang.management.ClassLoadingMXBeangetLoadedClassCount in interface java.lang.management.ClassLoadingMXBeanpublic long getTotalLoadedClassCount()
java.lang.management.ClassLoadingMXBeangetTotalLoadedClassCount in interface java.lang.management.ClassLoadingMXBeanpublic long getUnloadedClassCount()
java.lang.management.ClassLoadingMXBeangetUnloadedClassCount in interface java.lang.management.ClassLoadingMXBeanpublic boolean isVerbose()
java.lang.management.ClassLoadingMXBeanisVerbose in interface java.lang.management.ClassLoadingMXBeanpublic void setVerbose(boolean value)
java.lang.management.ClassLoadingMXBeansetVerbose in interface java.lang.management.ClassLoadingMXBeanvalue - true to put the class loading system into verbose
mode, false to take the class loading system out of verbose mode.