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
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider, String intfName) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendStats(StringBuffer sbuf) protected static voidappendTimeStatistic(StringBuffer sbuf, String name, com.sun.enterprise.admin.monitor.stats.MutableAverageRangeStatisticImpl stat) com.sun.enterprise.admin.monitor.stats.AverageRangeStatisticReturns the total number of bytes activated by this store including total, min, maximumorg.glassfish.j2ee.statistics.CountStatisticReturns the total number of sessions activated from the storeorg.glassfish.j2ee.statistics.CountStatisticReturns the total number of sessions that couldn't be Activated from the storeorg.glassfish.j2ee.statistics.CountStatisticReturns the total number of sessions successfully Activated from the storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticReturns the time spent on activating beans from the store including total, min, maxorg.glassfish.j2ee.statistics.RangeStatisticReturns the number of passivated / checkpointed sessions in the storeorg.glassfish.j2ee.statistics.CountStatisticReturns the total number of expired sessions that were removed by this storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticReturns the total number of bytes passivated by this store including total, min, maximumorg.glassfish.j2ee.statistics.CountStatisticReturns the total number of sessions passivated using this storeorg.glassfish.j2ee.statistics.CountStatisticReturns the total number of sessions that couldn't be Passivated using the storeorg.glassfish.j2ee.statistics.CountStatisticReturns the total number of sessions successfully Passivated using the storecom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticReturns the time spent on passivating beans to the store including total, min, maxprotected voidMethods 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 org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
Constructor Details
-
StatefulSessionStoreStatsImpl
-
StatefulSessionStoreStatsImpl
-
-
Method Details
-
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
-
appendTimeStatistic
protected static void appendTimeStatistic(StringBuffer sbuf, String name, com.sun.enterprise.admin.monitor.stats.MutableAverageRangeStatisticImpl stat)
-