@AMXMetadata(type="class-loading-system-mon", group="monitoring") @ManagedObject @Description(value="JVM Class Loading Statistics") public class JVMClassLoadingStatsProvider extends Object
The MBean will be of the format
amx:pp=/mon/server-mon[server],type=class-loading-system-mon,name=jvm/class-loading-system
and can be enabled by turning the Jvm monitoring level in the admin console to LOW
Constructor and Description |
---|
JVMClassLoadingStatsProvider() |
Modifier and Type | Method and Description |
---|---|
org.glassfish.external.statistics.CountStatistic |
getLoadedClassCount()
Gets the number of classes currently loaded in the JVM
|
org.glassfish.external.statistics.CountStatistic |
getTotalLoadedClassCount()
Gets the total number of classes loaded since the JVM started
|
org.glassfish.external.statistics.CountStatistic |
getUnloadedClassCount()
Gets the total number of classes unloaded since the JVM started
|
@ManagedAttribute(id="loadedclass-count") @Description(value="number of classes currently loaded in the JVM") public org.glassfish.external.statistics.CountStatistic getLoadedClassCount()
CountStatistic
with the number of classes@ManagedAttribute(id="totalloadedclass-count") @Description(value="total number of classes loaded since the JVM started") public org.glassfish.external.statistics.CountStatistic getTotalLoadedClassCount()
CountStatistic
with the number of classes@ManagedAttribute(id="unloadedclass-count") @Description(value="total number of classes unloaded since the JVM started") public org.glassfish.external.statistics.CountStatistic getUnloadedClassCount()
Copyright © 2020. All rights reserved.