com.sun.ejb.base.stats
Class EJBCacheStatsImpl

java.lang.Object
  extended by com.sun.ejb.base.stats.StatsImpl
      extended by 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

Field Summary
 
Fields inherited from class com.sun.ejb.base.stats.StatsImpl
_logger, monitorOn, registered
 
Constructor Summary
EJBCacheStatsImpl(EJBCacheStatsProvider delegate)
           
 
Method Summary
 BoundedRangeStatistic getCacheHits()
           
 BoundedRangeStatistic getCacheMisses()
           
 BoundedRangeStatistic getNumBeansInCache()
           
 CountStatistic getNumExpiredSessionsRemoved()
           
 CountStatistic getNumPassivationErrors()
           
 CountStatistic getNumPassivations()
           
 CountStatistic getNumPassivationSuccess()
           
protected  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

EJBCacheStatsImpl

public EJBCacheStatsImpl(EJBCacheStatsProvider delegate)
Method Detail

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.