com.sun.ejb.base.stats
Class EJBCacheStatsImpl
java.lang.Object
com.sun.ejb.base.stats.StatsImpl
com.sun.ejb.base.stats.EJBCacheStatsImpl
- All Implemented Interfaces:
- EJBCacheStats, Stats
public class EJBCacheStatsImpl
- extends StatsImpl
- implements EJBCacheStats
A Class for providing stats for EJB Caches.
Used by both Entity and Stateful Containers
- Author:
- Mahesh Kannan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBCacheStatsImpl
public EJBCacheStatsImpl(EJBCacheStatsProvider delegate)
initialize
protected void initialize()
getCacheHits
public BoundedRangeStatistic getCacheHits()
- Specified by:
getCacheHits in interface EJBCacheStats
getCacheMisses
public BoundedRangeStatistic getCacheMisses()
- Specified by:
getCacheMisses in interface EJBCacheStats
getNumBeansInCache
public BoundedRangeStatistic getNumBeansInCache()
- Specified by:
getNumBeansInCache in interface EJBCacheStats
getNumExpiredSessionsRemoved
public CountStatistic getNumExpiredSessionsRemoved()
- Specified by:
getNumExpiredSessionsRemoved in interface EJBCacheStats
getNumPassivationErrors
public CountStatistic getNumPassivationErrors()
- Specified by:
getNumPassivationErrors in interface EJBCacheStats
getNumPassivations
public CountStatistic getNumPassivations()
- Specified by:
getNumPassivations in interface EJBCacheStats
getNumPassivationSuccess
public CountStatistic getNumPassivationSuccess()
- Specified by:
getNumPassivationSuccess in interface EJBCacheStats
Copyright © 2012 GlassFish Community. All Rights Reserved.