|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassLoadingMXBean
Provides access to information about the class loading
behaviour of the current invocation of the virtual
machine. An instance of this bean is obtained by calling
ManagementFactory.getClassLoadingMXBean()
.
Method Summary | |
---|---|
int |
getLoadedClassCount()
Returns the number of classes currently loaded by the virtual machine. |
long |
getTotalLoadedClassCount()
Returns the total number of classes loaded by the virtual machine since it was started. |
long |
getUnloadedClassCount()
Returns the number of classes that have been unloaded by the virtual machine since it was started. |
boolean |
isVerbose()
Returns true if the virtual machine will emit additional information when classes are loaded and unloaded. |
void |
setVerbose(boolean verbose)
Turns on or off the emission of additional information when classes are loaded and unloaded. |
Method Detail |
---|
int getLoadedClassCount()
long getTotalLoadedClassCount()
long getUnloadedClassCount()
boolean isVerbose()
void setVerbose(boolean verbose)
verbose
- the new setting for verbose class loading
output.
SecurityException
- if a security manager exists and
denies ManagementPermission("control").
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |