Class 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 statistics

    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

    Since:
    v2
    • Constructor Detail

      • JVMClassLoadingStatsProvider

        public JVMClassLoadingStatsProvider()
    • 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