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
| 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 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 |
HAStatefulSessionStoreStatsImpl
public HAStatefulSessionStoreStatsImpl(MonitorableSFSBStoreManager provider)
initialize
protected void initialize()
- Overrides:
initialize in class StatefulSessionStoreStatsImpl
getCheckpointCount
public CountStatistic getCheckpointCount()
- Returns the total number of sessions checkpointed into the store
- Specified by:
getCheckpointCount in interface HAStatefulSessionStoreStats
getCheckpointSuccessCount
public CountStatistic getCheckpointSuccessCount()
- Returns the total number of sessions successfully Checkpointed into the store
- Specified by:
getCheckpointSuccessCount in interface HAStatefulSessionStoreStats
getCheckpointErrorCount
public CountStatistic getCheckpointErrorCount()
- Returns the total number of sessions that couldn't be Checkpointed into the store
- Specified by:
getCheckpointErrorCount in interface HAStatefulSessionStoreStats
getCheckpointedBeanSize
public AverageRangeStatistic getCheckpointedBeanSize()
- Returns the number of bytes checkpointed
- Specified by:
getCheckpointedBeanSize in interface HAStatefulSessionStoreStats
getCheckpointTime
public AverageRangeStatistic getCheckpointTime()
- Returns the time spent on passivating beans to the store including total, min, max
- Specified by:
getCheckpointTime in interface HAStatefulSessionStoreStats
incrementCheckpointCount
public void incrementCheckpointCount(boolean success)
setCheckpointSize
public void setCheckpointSize(long val)
setCheckpointTime
public void setCheckpointTime(long val)
appendStats
protected void appendStats(StringBuffer sbuf)
- Overrides:
appendStats in class StatefulSessionStoreStatsImpl
Copyright © 2012 GlassFish Community. All Rights Reserved.