Class HAStatefulSessionStoreStatsImpl

All Implemented Interfaces:
com.sun.enterprise.admin.monitor.stats.HAStatefulSessionStoreStats, com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats, org.glassfish.j2ee.statistics.Stats

public class HAStatefulSessionStoreStatsImpl extends StatefulSessionStoreStatsImpl implements com.sun.enterprise.admin.monitor.stats.HAStatefulSessionStoreStats
Implementation of StatefulSessionStoreStats There is once instance of this class per StatefulEJBContainer
Author:
Mahesh Kannan
  • Constructor Details

  • Method Details

    • initialize

      protected void initialize()
      Overrides:
      initialize in class StatefulSessionStoreStatsImpl
    • getCheckpointCount

      public org.glassfish.j2ee.statistics.CountStatistic getCheckpointCount()
      Returns the total number of sessions checkpointed into the store
      Specified by:
      getCheckpointCount in interface com.sun.enterprise.admin.monitor.stats.HAStatefulSessionStoreStats
    • getCheckpointSuccessCount

      public org.glassfish.j2ee.statistics.CountStatistic getCheckpointSuccessCount()
      Returns the total number of sessions successfully Checkpointed into the store
      Specified by:
      getCheckpointSuccessCount in interface com.sun.enterprise.admin.monitor.stats.HAStatefulSessionStoreStats
    • getCheckpointErrorCount

      public org.glassfish.j2ee.statistics.CountStatistic getCheckpointErrorCount()
      Returns the total number of sessions that couldn't be Checkpointed into the store
      Specified by:
      getCheckpointErrorCount in interface com.sun.enterprise.admin.monitor.stats.HAStatefulSessionStoreStats
    • getCheckpointedBeanSize

      public com.sun.enterprise.admin.monitor.stats.AverageRangeStatistic getCheckpointedBeanSize()
      Returns the number of bytes checkpointed
      Specified by:
      getCheckpointedBeanSize in interface com.sun.enterprise.admin.monitor.stats.HAStatefulSessionStoreStats
    • getCheckpointTime

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

      public void incrementCheckpointCount(boolean success)
    • setCheckpointSize

      public void setCheckpointSize(long val)
    • setCheckpointTime

      public void setCheckpointTime(long val)
    • appendStats

      protected void appendStats(StringBuffer sbuf)
      Overrides:
      appendStats in class StatefulSessionStoreStatsImpl