Package com.sun.ejb.base.stats
Class HAStatefulSessionStoreStatsImpl
java.lang.Object
com.sun.ejb.base.stats.StatsImpl
com.sun.ejb.base.stats.StatefulSessionStoreStatsImpl
com.sun.ejb.base.stats.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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendStats(StringBuffer sbuf) org.glassfish.j2ee.statistics.CountStatisticReturns the total number of sessions checkpointed into the storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticReturns the number of bytes checkpointedorg.glassfish.j2ee.statistics.CountStatisticReturns the total number of sessions that couldn't be Checkpointed into the storeorg.glassfish.j2ee.statistics.CountStatisticReturns the total number of sessions successfully Checkpointed into the storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticReturns the time spent on passivating beans to the store including total, min, maxvoidincrementCheckpointCount(boolean success) protected voidvoidsetCheckpointSize(long val) voidsetCheckpointTime(long val) Methods inherited from class com.sun.ejb.base.stats.StatefulSessionStoreStatsImpl
appendTimeStatistic, getActivatedBeanSize, getActivationCount, getActivationErrorCount, getActivationSuccessCount, getActivationTime, getCurrentSize, getExpiredSessionCount, getPassivatedBeanSize, getPassivationCount, getPassivationErrorCount, getPassivationSuccessCount, getPassivationTimeMethods inherited from class com.sun.ejb.base.stats.StatsImpl
getStatistic, getStatisticNames, getStatistics, initialize, statToStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
getActivatedBeanSize, getActivationCount, getActivationErrorCount, getActivationSuccessCount, getActivationTime, getCurrentSize, getExpiredSessionCount, getPassivatedBeanSize, getPassivationCount, getPassivationErrorCount, getPassivationSuccessCount, getPassivationTimeMethods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
Constructor Details
-
HAStatefulSessionStoreStatsImpl
-
-
Method Details
-
initialize
protected void initialize()- Overrides:
initializein classStatefulSessionStoreStatsImpl
-
getCheckpointCount
public org.glassfish.j2ee.statistics.CountStatistic getCheckpointCount()Returns the total number of sessions checkpointed into the store- Specified by:
getCheckpointCountin interfacecom.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:
getCheckpointSuccessCountin interfacecom.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:
getCheckpointErrorCountin interfacecom.sun.enterprise.admin.monitor.stats.HAStatefulSessionStoreStats
-
getCheckpointedBeanSize
public com.sun.enterprise.admin.monitor.stats.AverageRangeStatistic getCheckpointedBeanSize()Returns the number of bytes checkpointed- Specified by:
getCheckpointedBeanSizein interfacecom.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:
getCheckpointTimein interfacecom.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
- Overrides:
appendStatsin classStatefulSessionStoreStatsImpl
-