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 ObjectClass 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-systemand 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.CountStatisticgetLoadedClassCount()Gets the number of classes currently loaded in the JVMorg.glassfish.external.statistics.CountStatisticgetTotalLoadedClassCount()Gets the total number of classes loaded since the JVM startedorg.glassfish.external.statistics.CountStatisticgetUnloadedClassCount()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
CountStatisticwith 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
CountStatisticwith 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
-
-