Package com.sun.ejb.base.stats
Class StatefulSessionStoreStatsImpl
- java.lang.Object
-
- com.sun.ejb.base.stats.StatsImpl
-
- com.sun.ejb.base.stats.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
-
-
Constructor Summary
Constructors Modifier Constructor Description StatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider)protectedStatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider, String intfName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendStats(StringBuffer sbuf)protected static voidappendTimeStatistic(StringBuffer sbuf, String name, com.sun.enterprise.admin.monitor.stats.MutableAverageRangeStatisticImpl stat)com.sun.enterprise.admin.monitor.stats.AverageRangeStatisticgetActivatedBeanSize()Returns the total number of bytes activated by this store including total, min, maximumorg.glassfish.j2ee.statistics.CountStatisticgetActivationCount()Returns the total number of sessions activated from the storeorg.glassfish.j2ee.statistics.CountStatisticgetActivationErrorCount()Returns the total number of sessions that couldn't be Activated from the storeorg.glassfish.j2ee.statistics.CountStatisticgetActivationSuccessCount()Returns the total number of sessions successfully Activated from the storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticgetActivationTime()Returns the time spent on activating beans from the store including total, min, maxorg.glassfish.j2ee.statistics.RangeStatisticgetCurrentSize()Returns the number of passivated / checkpointed sessions in the storeorg.glassfish.j2ee.statistics.CountStatisticgetExpiredSessionCount()Returns the total number of expired sessions that were removed by this storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticgetPassivatedBeanSize()Returns the total number of bytes passivated by this store including total, min, maximumorg.glassfish.j2ee.statistics.CountStatisticgetPassivationCount()Returns the total number of sessions passivated using this storeorg.glassfish.j2ee.statistics.CountStatisticgetPassivationErrorCount()Returns the total number of sessions that couldn't be Passivated using the storeorg.glassfish.j2ee.statistics.CountStatisticgetPassivationSuccessCount()Returns the total number of sessions successfully Passivated using the storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticgetPassivationTime()Returns the time spent on passivating beans to the store including total, min, maxprotected voidinitialize()-
Methods inherited from class com.sun.ejb.base.stats.StatsImpl
getStatistic, getStatisticNames, getStatistics, initialize, statToString
-
-
-
-
Constructor Detail
-
StatefulSessionStoreStatsImpl
public StatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider)
-
StatefulSessionStoreStatsImpl
protected StatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider, String intfName)
-
-
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:
getCurrentSizein interfacecom.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:
getActivationCountin interfacecom.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:
getActivationSuccessCountin interfacecom.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:
getActivationErrorCountin interfacecom.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:
getPassivationCountin interfacecom.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:
getPassivationSuccessCountin interfacecom.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:
getPassivationErrorCountin interfacecom.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:
getExpiredSessionCountin interfacecom.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:
getActivatedBeanSizein interfacecom.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:
getActivationTimein interfacecom.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:
getPassivatedBeanSizein interfacecom.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:
getPassivationTimein interfacecom.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)
-
-