当前页面:
在线文档首页 >
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
org.jboss.management.j2ee.statistics.StatsBase
org.jboss.management.j2ee.statistics.JCAConnectionStatsImpl
org.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)
|
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 |
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)
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.