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

JDBCConnectionPoolMonitorImpl

public class JDBCConnectionPoolMonitorImpl extends MonitoringStatsImplBase

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

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

		return( (AltJDBCConnectionPoolStats)getStats() );
	
public com.sun.appserv.management.monitor.statistics.AltJDBCConnectionPoolStatsgetJDBCConnectionPoolStats()
Deprecated.

		return getAltJDBCConnectionPoolStats();
	
protected java.lang.ClassgetStatsInterface()

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

		super.initStatisticNameMapper();
		
		final AttributeNameMapper	m	= getStatisticNameMapper();
		
	/**
		name from getStatisticNames		name in Statistic[]
		NumConnAcquired					NumConnOpened
		NumConnReleased					NumConnClosed
		AverageConnWaitTime				AvgConnWaitTime
	 */
		m.addMapping( "NumConnOpened", "NumConnAcquired"  );
		m.addMapping( "NumConnClosed",	"NumConnReleased"  );
		m.addMapping( "AvgConnWaitTime", "AverageConnWaitTime" );