org.jboss.management.j2ee.statistics
Class JCAConnectionPoolStatsImpl

java.lang.Object
  extended byorg.jboss.management.j2ee.statistics.StatsBase (src) 
      extended byorg.jboss.management.j2ee.statistics.JCAConnectionStatsImpl (src) 
          extended byorg.jboss.management.j2ee.statistics.JCAConnectionPoolStatsImpl
All Implemented Interfaces:
JCAConnectionPoolStats (src) , JCAConnectionStats (src) , java.io.Serializable, Stats (src)

public class JCAConnectionPoolStatsImpl
extends JCAConnectionStatsImpl (src)
implements JCAConnectionPoolStats (src)

The JSR77.6.20 JCAConnectionPoolStats implementation

See Also:
Serialized Form

Constructor Summary
JCAConnectionPoolStatsImpl(java.lang.String cfName, java.lang.String mcfName, BoundedRangeStatistic (src)  freePoolSize, BoundedRangeStatistic (src)  poolSize)
           
JCAConnectionPoolStatsImpl(java.lang.String cfName, java.lang.String mcfName, TimeStatistic (src)  waitTime, TimeStatistic (src)  useTime, CountStatistic (src)  closeCount, CountStatistic (src)  createCount, BoundedRangeStatistic (src)  freePoolSize, BoundedRangeStatistic (src)  poolSize, RangeStatistic (src)  waitingThreadCount)
           
 
Method Summary
 CountStatistic (src) getCloseCount()
          The number of connections closed
 CountStatistic (src) getCreateCount()
          The number of connections created
 BoundedRangeStatistic (src) getFreePoolSize()
          The number of free connections in the pool
 BoundedRangeStatistic (src) getPoolSize()
          The size of the connection pool
 RangeStatistic (src) getWaitingThreadCount()
          The number of threads waiting for a connection
 
Methods inherited from class org.jboss.management.j2ee.statistics.JCAConnectionStatsImpl (src)
getConnectionFactory, getManagedConnectionFactory, getUseTime, getWaitTime
 
Methods inherited from class org.jboss.management.j2ee.statistics.StatsBase (src)
addStatistic, getStatistic, getStatisticNames, getStatistics, reset, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.management.j2ee.statistics.JCAConnectionStats (src)
getConnectionFactory, getManagedConnectionFactory, getUseTime, getWaitTime
 
Methods inherited from interface javax.management.j2ee.statistics.Stats (src)
getStatistic, getStatisticNames, getStatistics
 

Constructor Detail

JCAConnectionPoolStatsImpl

public JCAConnectionPoolStatsImpl(java.lang.String cfName,
                                  java.lang.String mcfName,
                                  BoundedRangeStatistic (src)  freePoolSize,
                                  BoundedRangeStatistic (src)  poolSize)

JCAConnectionPoolStatsImpl

public JCAConnectionPoolStatsImpl(java.lang.String cfName,
                                  java.lang.String mcfName,
                                  TimeStatistic (src)  waitTime,
                                  TimeStatistic (src)  useTime,
                                  CountStatistic (src)  closeCount,
                                  CountStatistic (src)  createCount,
                                  BoundedRangeStatistic (src)  freePoolSize,
                                  BoundedRangeStatistic (src)  poolSize,
                                  RangeStatistic (src)  waitingThreadCount)
Method Detail

getCloseCount

public CountStatistic (src)  getCloseCount()
Description copied from interface: JCAConnectionPoolStats (src)
The number of connections closed

Specified by:
getCloseCount in interface JCAConnectionPoolStats (src)

getCreateCount

public CountStatistic (src)  getCreateCount()
Description copied from interface: JCAConnectionPoolStats (src)
The number of connections created

Specified by:
getCreateCount in interface JCAConnectionPoolStats (src)

getFreePoolSize

public BoundedRangeStatistic (src)  getFreePoolSize()
Description copied from interface: JCAConnectionPoolStats (src)
The number of free connections in the pool

Specified by:
getFreePoolSize in interface JCAConnectionPoolStats (src)

getPoolSize

public BoundedRangeStatistic (src)  getPoolSize()
Description copied from interface: JCAConnectionPoolStats (src)
The size of the connection pool

Specified by:
getPoolSize in interface JCAConnectionPoolStats (src)

getWaitingThreadCount

public RangeStatistic (src)  getWaitingThreadCount()
Description copied from interface: JCAConnectionPoolStats (src)
The number of threads waiting for a connection

Specified by:
getWaitingThreadCount in interface JCAConnectionPoolStats (src)
Returns:
BoundedRangeStatistic