Class StatefulSessionStoreStatsImpl

  • All Implemented Interfaces:
    com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats, org.glassfish.j2ee.statistics.Stats
    Direct Known Subclasses:
    HAStatefulSessionStoreStatsImpl

    public class StatefulSessionStoreStatsImpl
    extends StatsImpl
    implements com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
    Implementation of StatefulSessionStoreStats There is once instance of this class per StatefulEJBContainer
    Author:
    Mahesh Kannan
    • Method Detail

      • initialize

        protected void initialize()
      • getCurrentSize

        public org.glassfish.j2ee.statistics.RangeStatistic getCurrentSize()
        Returns the number of passivated / checkpointed sessions in the store
        Specified by:
        getCurrentSize in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getActivationCount

        public org.glassfish.j2ee.statistics.CountStatistic getActivationCount()
        Returns the total number of sessions activated from the store
        Specified by:
        getActivationCount in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getActivationSuccessCount

        public org.glassfish.j2ee.statistics.CountStatistic getActivationSuccessCount()
        Returns the total number of sessions successfully Activated from the store
        Specified by:
        getActivationSuccessCount in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getActivationErrorCount

        public org.glassfish.j2ee.statistics.CountStatistic getActivationErrorCount()
        Returns the total number of sessions that couldn't be Activated from the store
        Specified by:
        getActivationErrorCount in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getPassivationCount

        public org.glassfish.j2ee.statistics.CountStatistic getPassivationCount()
        Returns the total number of sessions passivated using this store
        Specified by:
        getPassivationCount in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getPassivationSuccessCount

        public org.glassfish.j2ee.statistics.CountStatistic getPassivationSuccessCount()
        Returns the total number of sessions successfully Passivated using the store
        Specified by:
        getPassivationSuccessCount in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getPassivationErrorCount

        public org.glassfish.j2ee.statistics.CountStatistic getPassivationErrorCount()
        Returns the total number of sessions that couldn't be Passivated using the store
        Specified by:
        getPassivationErrorCount in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getExpiredSessionCount

        public org.glassfish.j2ee.statistics.CountStatistic getExpiredSessionCount()
        Returns the total number of expired sessions that were removed by this store
        Specified by:
        getExpiredSessionCount in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getActivatedBeanSize

        public com.sun.enterprise.admin.monitor.stats.AverageRangeStatistic getActivatedBeanSize()
        Returns the total number of bytes activated by this store including total, min, maximum
        Specified by:
        getActivatedBeanSize in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getActivationTime

        public com.sun.enterprise.admin.monitor.stats.AverageRangeStatistic getActivationTime()
        Returns the time spent on activating beans from the store including total, min, max
        Specified by:
        getActivationTime in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getPassivatedBeanSize

        public com.sun.enterprise.admin.monitor.stats.AverageRangeStatistic getPassivatedBeanSize()
        Returns the total number of bytes passivated by this store including total, min, maximum
        Specified by:
        getPassivatedBeanSize in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • getPassivationTime

        public com.sun.enterprise.admin.monitor.stats.AverageRangeStatistic getPassivationTime()
        Returns the time spent on passivating beans to the store including total, min, max
        Specified by:
        getPassivationTime in interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
      • appendStats

        protected void appendStats​(StringBuffer sbuf)
      • appendTimeStatistic

        protected static void appendTimeStatistic​(StringBuffer sbuf,
                                                  String name,
                                                  com.sun.enterprise.admin.monitor.stats.MutableAverageRangeStatisticImpl stat)