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:
StatefulSessionStoreStats,Stats
- Direct Known Subclasses:
HAStatefulSessionStoreStatsImpl
public class StatefulSessionStoreStatsImpl extends StatsImpl implements 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(StringBuilder sbuf)protected static voidappendTimeStatistic(StringBuilder sbuf, String name, MutableAverageRangeStatisticImpl stat)AverageRangeStatisticgetActivatedBeanSize()Returns the total number of bytes activated by this store including total, min, maximumCountStatisticgetActivationCount()Returns the total number of sessions activated from the storeCountStatisticgetActivationErrorCount()Returns the total number of sessions that couldn't be Activated from the storeCountStatisticgetActivationSuccessCount()Returns the total number of sessions successfully Activated from the storeAverageRangeStatisticgetActivationTime()Returns the time spent on activating beans from the store including total, min, maxRangeStatisticgetCurrentSize()Returns the number of passivated / checkpointed sessions in the storeCountStatisticgetExpiredSessionCount()Returns the total number of expired sessions that were removed by this storeAverageRangeStatisticgetPassivatedBeanSize()Returns the total number of bytes passivated by this store including total, min, maximumCountStatisticgetPassivationCount()Returns the total number of sessions passivated using this storeCountStatisticgetPassivationErrorCount()Returns the total number of sessions that couldn't be Passivated using the storeCountStatisticgetPassivationSuccessCount()Returns the total number of sessions successfully Passivated using the storeAverageRangeStatisticgetPassivationTime()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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
-
-
-
Constructor Detail
-
StatefulSessionStoreStatsImpl
public StatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider)
-
StatefulSessionStoreStatsImpl
protected StatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider, String intfName)
-
-
Method Detail
-
initialize
protected void initialize()
-
getCurrentSize
public RangeStatistic getCurrentSize()
Returns the number of passivated / checkpointed sessions in the store- Specified by:
getCurrentSizein interfaceStatefulSessionStoreStats- Returns:
- RangeStatistic
-
getActivationCount
public CountStatistic getActivationCount()
Returns the total number of sessions activated from the store- Specified by:
getActivationCountin interfaceStatefulSessionStoreStats- Returns:
- CountStatistic
-
getActivationSuccessCount
public CountStatistic getActivationSuccessCount()
Returns the total number of sessions successfully Activated from the store- Specified by:
getActivationSuccessCountin interfaceStatefulSessionStoreStats- Returns:
- CountStatistic
-
getActivationErrorCount
public CountStatistic getActivationErrorCount()
Returns the total number of sessions that couldn't be Activated from the store- Specified by:
getActivationErrorCountin interfaceStatefulSessionStoreStats- Returns:
- CountStatistic
-
getPassivationCount
public CountStatistic getPassivationCount()
Returns the total number of sessions passivated using this store- Specified by:
getPassivationCountin interfaceStatefulSessionStoreStats- Returns:
- CountStatistic
-
getPassivationSuccessCount
public CountStatistic getPassivationSuccessCount()
Returns the total number of sessions successfully Passivated using the store- Specified by:
getPassivationSuccessCountin interfaceStatefulSessionStoreStats- Returns:
- CountStatistic
-
getPassivationErrorCount
public CountStatistic getPassivationErrorCount()
Returns the total number of sessions that couldn't be Passivated using the store- Specified by:
getPassivationErrorCountin interfaceStatefulSessionStoreStats- Returns:
- CountStatistic
-
getExpiredSessionCount
public CountStatistic getExpiredSessionCount()
Returns the total number of expired sessions that were removed by this store- Specified by:
getExpiredSessionCountin interfaceStatefulSessionStoreStats- Returns:
- CountStatistic
-
getActivatedBeanSize
public AverageRangeStatistic getActivatedBeanSize()
Returns the total number of bytes activated by this store including total, min, maximum- Specified by:
getActivatedBeanSizein interfaceStatefulSessionStoreStats- Returns:
- AverageRangeStatistic
-
getActivationTime
public AverageRangeStatistic getActivationTime()
Returns the time spent on activating beans from the store including total, min, max- Specified by:
getActivationTimein interfaceStatefulSessionStoreStats- Returns:
- AverageRangeStatistic
-
getPassivatedBeanSize
public AverageRangeStatistic getPassivatedBeanSize()
Returns the total number of bytes passivated by this store including total, min, maximum- Specified by:
getPassivatedBeanSizein interfaceStatefulSessionStoreStats- Returns:
- AverageRangeStatistic
-
getPassivationTime
public AverageRangeStatistic getPassivationTime()
Returns the time spent on passivating beans to the store including total, min, max- Specified by:
getPassivationTimein interfaceStatefulSessionStoreStats- Returns:
- AverageRangeStatistic
-
appendStats
protected void appendStats(StringBuilder sbuf)
-
appendTimeStatistic
protected static void appendTimeStatistic(StringBuilder sbuf, String name, MutableAverageRangeStatisticImpl stat)
-
-