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, setMBeanInfo
public int getLoadedClassCount()
java.lang.management.ClassLoadingMXBean
getLoadedClassCount
in interface java.lang.management.ClassLoadingMXBean
public long getTotalLoadedClassCount()
java.lang.management.ClassLoadingMXBean
getTotalLoadedClassCount
in interface java.lang.management.ClassLoadingMXBean
public long getUnloadedClassCount()
java.lang.management.ClassLoadingMXBean
getUnloadedClassCount
in interface java.lang.management.ClassLoadingMXBean
public boolean isVerbose()
java.lang.management.ClassLoadingMXBean
isVerbose
in interface java.lang.management.ClassLoadingMXBean
public void setVerbose(boolean value)
java.lang.management.ClassLoadingMXBean
setVerbose
in interface java.lang.management.ClassLoadingMXBean
value
- true to put the class loading system into verbose
mode, false to take the class loading system out of verbose mode.