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)
protected
StatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider, String intfName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendStats(StringBuilder sbuf)
protected static void
appendTimeStatistic(StringBuilder sbuf, String name, MutableAverageRangeStatisticImpl stat)
AverageRangeStatistic
getActivatedBeanSize()
Returns the total number of bytes activated by this store including total, min, maximumCountStatistic
getActivationCount()
Returns the total number of sessions activated from the storeCountStatistic
getActivationErrorCount()
Returns the total number of sessions that couldn't be Activated from the storeCountStatistic
getActivationSuccessCount()
Returns the total number of sessions successfully Activated from the storeAverageRangeStatistic
getActivationTime()
Returns the time spent on activating beans from the store including total, min, maxRangeStatistic
getCurrentSize()
Returns the number of passivated / checkpointed sessions in the storeCountStatistic
getExpiredSessionCount()
Returns the total number of expired sessions that were removed by this storeAverageRangeStatistic
getPassivatedBeanSize()
Returns the total number of bytes passivated by this store including total, min, maximumCountStatistic
getPassivationCount()
Returns the total number of sessions passivated using this storeCountStatistic
getPassivationErrorCount()
Returns the total number of sessions that couldn't be Passivated using the storeCountStatistic
getPassivationSuccessCount()
Returns the total number of sessions successfully Passivated using the storeAverageRangeStatistic
getPassivationTime()
Returns the time spent on passivating beans to the store including total, min, maxprotected void
initialize()
-
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:
getCurrentSize
in interfaceStatefulSessionStoreStats
- Returns:
- RangeStatistic
-
getActivationCount
public CountStatistic getActivationCount()
Returns the total number of sessions activated from the store- Specified by:
getActivationCount
in interfaceStatefulSessionStoreStats
- Returns:
- CountStatistic
-
getActivationSuccessCount
public CountStatistic getActivationSuccessCount()
Returns the total number of sessions successfully Activated from the store- Specified by:
getActivationSuccessCount
in interfaceStatefulSessionStoreStats
- Returns:
- CountStatistic
-
getActivationErrorCount
public CountStatistic getActivationErrorCount()
Returns the total number of sessions that couldn't be Activated from the store- Specified by:
getActivationErrorCount
in interfaceStatefulSessionStoreStats
- Returns:
- CountStatistic
-
getPassivationCount
public CountStatistic getPassivationCount()
Returns the total number of sessions passivated using this store- Specified by:
getPassivationCount
in interfaceStatefulSessionStoreStats
- Returns:
- CountStatistic
-
getPassivationSuccessCount
public CountStatistic getPassivationSuccessCount()
Returns the total number of sessions successfully Passivated using the store- Specified by:
getPassivationSuccessCount
in interfaceStatefulSessionStoreStats
- Returns:
- CountStatistic
-
getPassivationErrorCount
public CountStatistic getPassivationErrorCount()
Returns the total number of sessions that couldn't be Passivated using the store- Specified by:
getPassivationErrorCount
in interfaceStatefulSessionStoreStats
- Returns:
- CountStatistic
-
getExpiredSessionCount
public CountStatistic getExpiredSessionCount()
Returns the total number of expired sessions that were removed by this store- Specified by:
getExpiredSessionCount
in interfaceStatefulSessionStoreStats
- Returns:
- CountStatistic
-
getActivatedBeanSize
public AverageRangeStatistic getActivatedBeanSize()
Returns the total number of bytes activated by this store including total, min, maximum- Specified by:
getActivatedBeanSize
in interfaceStatefulSessionStoreStats
- Returns:
- AverageRangeStatistic
-
getActivationTime
public AverageRangeStatistic getActivationTime()
Returns the time spent on activating beans from the store including total, min, max- Specified by:
getActivationTime
in interfaceStatefulSessionStoreStats
- Returns:
- AverageRangeStatistic
-
getPassivatedBeanSize
public AverageRangeStatistic getPassivatedBeanSize()
Returns the total number of bytes passivated by this store including total, min, maximum- Specified by:
getPassivatedBeanSize
in interfaceStatefulSessionStoreStats
- Returns:
- AverageRangeStatistic
-
getPassivationTime
public AverageRangeStatistic getPassivationTime()
Returns the time spent on passivating beans to the store including total, min, max- Specified by:
getPassivationTime
in interfaceStatefulSessionStoreStats
- Returns:
- AverageRangeStatistic
-
appendStats
protected void appendStats(StringBuilder sbuf)
-
appendTimeStatistic
protected static void appendTimeStatistic(StringBuilder sbuf, String name, MutableAverageRangeStatisticImpl stat)
-
-