FileDocCategorySizeDatePackage
BeanCacheMonitorImpl.javaAPI DocGlassfish v2 API3080Fri May 04 22:23:30 BST 2007com.sun.enterprise.management.monitor

BeanCacheMonitorImpl

public class BeanCacheMonitorImpl extends MonitoringStatsImplBase

Fields Summary
Constructors Summary
public BeanCacheMonitorImpl(com.sun.enterprise.management.support.Delegate delegate)

		super( XTypes.BEAN_CACHE_MONITOR, delegate );
	
Methods Summary
public com.sun.appserv.management.monitor.statistics.EJBCacheStatsgetEJBCacheStats()

		return (EJBCacheStats)getStats();
	
protected java.lang.ClassgetStatsInterface()

		return( EJBCacheStats.class );
	
protected final voidinitStatisticNameMapper()

		super.initStatisticNameMapper();
		
		final AttributeNameMapper	m	= getStatisticNameMapper();
		
		m.addMapping( "NumPassivations", "Passivations" );
		m.addMapping( "NumPassivationSuccess", "PassivationSuccesses" );
		m.addMapping( "NumExpiredSessionsRemoved", "ExpiredSessionsRemoved" );
		m.addMapping( "NumPassivationErrors", "PassivationErrors" );
		m.addMapping( "NumBeansInCache", "BeansInCache" );