Package org.glassfish.admin.monitor.jvm
Class JVMClassLoadingStatsProvider
- java.lang.Object
-
- org.glassfish.admin.monitor.jvm.JVMClassLoadingStatsProvider
-
@AMXMetadata(type="class-loading-system-mon", group="monitoring") @ManagedObject @Description("JVM Class Loading Statistics") public class JVMClassLoadingStatsProvider extends Object
Class providing the MBean for JVM class loading statisticsThe 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- Since:
- v2
-
-
Constructor Summary
Constructors Constructor Description JVMClassLoadingStatsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.external.statistics.CountStatistic
getLoadedClassCount()
Gets the number of classes currently loaded in the JVMorg.glassfish.external.statistics.CountStatistic
getTotalLoadedClassCount()
Gets the total number of classes loaded since the JVM startedorg.glassfish.external.statistics.CountStatistic
getUnloadedClassCount()
Gets the total number of classes unloaded since the JVM started
-
-
-
Method Detail
-
getLoadedClassCount
@ManagedAttribute(id="loadedclass-count") @Description("number of classes currently loaded in the JVM") public org.glassfish.external.statistics.CountStatistic getLoadedClassCount()
Gets the number of classes currently loaded in the JVM- Returns:
- a
CountStatistic
with the number of classes
-
getTotalLoadedClassCount
@ManagedAttribute(id="totalloadedclass-count") @Description("total number of classes loaded since the JVM started") public org.glassfish.external.statistics.CountStatistic getTotalLoadedClassCount()
Gets the total number of classes loaded since the JVM started- Returns:
- a
CountStatistic
with the number of classes
-
getUnloadedClassCount
@ManagedAttribute(id="unloadedclass-count") @Description("total number of classes unloaded since the JVM started") public org.glassfish.external.statistics.CountStatistic getUnloadedClassCount()
Gets the total number of classes unloaded since the JVM started- Returns:
- A statistic with the value of the number of classes
-
-