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:
HAStatefulSessionStoreStats,StatefulSessionStoreStats,Stats
public class HAStatefulSessionStoreStatsImpl extends StatefulSessionStoreStatsImpl implements 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(StringBuilder sbuf)CountStatisticgetCheckpointCount()Returns the total number of sessions checkpointed into the storeAverageRangeStatisticgetCheckpointedBeanSize()Returns the number of bytes checkpointedCountStatisticgetCheckpointErrorCount()Returns the total number of sessions that couldn't be Checkpointed into the storeCountStatisticgetCheckpointSuccessCount()Returns the total number of sessions successfully Checkpointed into the storeAverageRangeStatisticgetCheckpointTime()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
-
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
-
-
-
Constructor Detail
-
HAStatefulSessionStoreStatsImpl
public HAStatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider)
-
-
Method Detail
-
initialize
protected void initialize()
- Overrides:
initializein classStatefulSessionStoreStatsImpl
-
getCheckpointCount
public CountStatistic getCheckpointCount()
Returns the total number of sessions checkpointed into the store- Specified by:
getCheckpointCountin interfaceHAStatefulSessionStoreStats- Returns:
- CountStatistic
-
getCheckpointSuccessCount
public CountStatistic getCheckpointSuccessCount()
Returns the total number of sessions successfully Checkpointed into the store- Specified by:
getCheckpointSuccessCountin interfaceHAStatefulSessionStoreStats- Returns:
- CountStatistic
-
getCheckpointErrorCount
public CountStatistic getCheckpointErrorCount()
Returns the total number of sessions that couldn't be Checkpointed into the store- Specified by:
getCheckpointErrorCountin interfaceHAStatefulSessionStoreStats- Returns:
- CountStatistic
-
getCheckpointedBeanSize
public AverageRangeStatistic getCheckpointedBeanSize()
Returns the number of bytes checkpointed- Specified by:
getCheckpointedBeanSizein interfaceHAStatefulSessionStoreStats- Returns:
- AverageRangeStatistic
-
getCheckpointTime
public AverageRangeStatistic getCheckpointTime()
Returns the time spent on passivating beans to the store including total, min, max- Specified by:
getCheckpointTimein interfaceHAStatefulSessionStoreStats- Returns:
- AverageRangeStatistic
-
incrementCheckpointCount
public void incrementCheckpointCount(boolean success)
-
setCheckpointSize
public void setCheckpointSize(long val)
-
setCheckpointTime
public void setCheckpointTime(long val)
-
appendStats
protected void appendStats(StringBuilder sbuf)
- Overrides:
appendStatsin classStatefulSessionStoreStatsImpl
-
-