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
-
-
Constructor Summary
Constructors Constructor Description HAStatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendStats(StringBuffer sbuf)org.glassfish.j2ee.statistics.CountStatisticgetCheckpointCount()Returns the total number of sessions checkpointed into the storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticgetCheckpointedBeanSize()Returns the number of bytes checkpointedorg.glassfish.j2ee.statistics.CountStatisticgetCheckpointErrorCount()Returns the total number of sessions that couldn't be Checkpointed into the storeorg.glassfish.j2ee.statistics.CountStatisticgetCheckpointSuccessCount()Returns the total number of sessions successfully Checkpointed into the storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticgetCheckpointTime()Returns the time spent on passivating beans to the store including total, min, maxvoidincrementCheckpointCount(boolean success)protected voidinitialize()voidsetCheckpointSize(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, getPassivationTime
-
Methods inherited from class com.sun.ejb.base.stats.StatsImpl
getStatistic, getStatisticNames, getStatistics, initialize, statToString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.enterprise.admin.monitor.stats.StatefulSessionStoreStats
getActivatedBeanSize, getActivationCount, getActivationErrorCount, getActivationSuccessCount, getActivationTime, getCurrentSize, getExpiredSessionCount, getPassivatedBeanSize, getPassivationCount, getPassivationErrorCount, getPassivationSuccessCount, getPassivationTime
-
-
-
-
Constructor Detail
-
HAStatefulSessionStoreStatsImpl
public HAStatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider)
-
-
Method Detail
-
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
protected void appendStats(StringBuffer sbuf)
- Overrides:
appendStatsin classStatefulSessionStoreStatsImpl
-
-