站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 management API Documentation 英文版文档

JCAConnectionPoolStatsImpl (JBoss/Management API) - JBoss 3.2.7 management API Documentation 英文版文档


org.jboss.management.j2ee.statistics
Class JCAConnectionPoolStatsImpl

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

public class JCAConnectionPoolStatsImpl
extends JCAConnectionStatsImpl
implements javax.management.j2ee.statistics.JCAConnectionPoolStats

The JSR77.6.20 JCAConnectionPoolStats implementation

Version:
$Revision: 1.1.2.1 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
JCAConnectionPoolStatsImpl(javax.management.ObjectName cfName, javax.management.ObjectName mcfName, javax.management.j2ee.statistics.BoundedRangeStatistic freePoolSize, javax.management.j2ee.statistics.BoundedRangeStatistic poolSize)
           
JCAConnectionPoolStatsImpl(javax.management.ObjectName cfName, javax.management.ObjectName mcfName, javax.management.j2ee.statistics.TimeStatistic waitTime, javax.management.j2ee.statistics.TimeStatistic useTime, javax.management.j2ee.statistics.CountStatistic closeCount, javax.management.j2ee.statistics.CountStatistic createCount, javax.management.j2ee.statistics.BoundedRangeStatistic freePoolSize, javax.management.j2ee.statistics.BoundedRangeStatistic poolSize, javax.management.j2ee.statistics.RangeStatistic waitingThreadCount)
           
 
Method Summary
 javax.management.j2ee.statistics.CountStatistic getCloseCount()
           
 javax.management.j2ee.statistics.CountStatistic getCreateCount()
           
 javax.management.j2ee.statistics.BoundedRangeStatistic getFreePoolSize()
           
 javax.management.j2ee.statistics.BoundedRangeStatistic getPoolSize()
           
 javax.management.j2ee.statistics.RangeStatistic getWaitingThreadCount()
           
 
Methods inherited from class org.jboss.management.j2ee.statistics.JCAConnectionStatsImpl
getConnectionFactory, getManagedConnectionFactory, getUseTime, getWaitTime
 
Methods inherited from class org.jboss.management.j2ee.statistics.StatsBase
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
getConnectionFactory, getManagedConnectionFactory, getUseTime, getWaitTime
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Constructor Detail

JCAConnectionPoolStatsImpl

public JCAConnectionPoolStatsImpl(javax.management.ObjectName cfName,
                                  javax.management.ObjectName mcfName,
                                  javax.management.j2ee.statistics.BoundedRangeStatistic freePoolSize,
                                  javax.management.j2ee.statistics.BoundedRangeStatistic poolSize)

JCAConnectionPoolStatsImpl

public JCAConnectionPoolStatsImpl(javax.management.ObjectName cfName,
                                  javax.management.ObjectName mcfName,
                                  javax.management.j2ee.statistics.TimeStatistic waitTime,
                                  javax.management.j2ee.statistics.TimeStatistic useTime,
                                  javax.management.j2ee.statistics.CountStatistic closeCount,
                                  javax.management.j2ee.statistics.CountStatistic createCount,
                                  javax.management.j2ee.statistics.BoundedRangeStatistic freePoolSize,
                                  javax.management.j2ee.statistics.BoundedRangeStatistic poolSize,
                                  javax.management.j2ee.statistics.RangeStatistic waitingThreadCount)
Method Detail

getCloseCount

public javax.management.j2ee.statistics.CountStatistic getCloseCount()
Specified by:
getCloseCount in interface javax.management.j2ee.statistics.JCAConnectionPoolStats
Returns:
The number of connections closed

getCreateCount

public javax.management.j2ee.statistics.CountStatistic getCreateCount()
Specified by:
getCreateCount in interface javax.management.j2ee.statistics.JCAConnectionPoolStats
Returns:
The number of connections created

getFreePoolSize

public javax.management.j2ee.statistics.BoundedRangeStatistic getFreePoolSize()
Specified by:
getFreePoolSize in interface javax.management.j2ee.statistics.JCAConnectionPoolStats
Returns:
The number of free connections in the pool

getPoolSize

public javax.management.j2ee.statistics.BoundedRangeStatistic getPoolSize()
Specified by:
getPoolSize in interface javax.management.j2ee.statistics.JCAConnectionPoolStats
Returns:
The size of the connection pool

getWaitingThreadCount

public javax.management.j2ee.statistics.RangeStatistic getWaitingThreadCount()
Specified by:
getWaitingThreadCount in interface javax.management.j2ee.statistics.JCAConnectionPoolStats
Returns:
The number of threats waiting for a connection


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.