JDBCConnectionPoolStats (Java EE 5)

Java EE API


javax.management.j2ee.statistics Interface JDBCConnectionPoolStats

All Superinterfaces:
JDBCConnectionStats, Stats

public interface JDBCConnectionPoolStats
extends JDBCConnectionStats


指定 JDBC 连接池提供的统计信息。
英文文档:

Specifies the statistics provided by a JDBC connection pool.


Method Summary
 CountStatistic
 CountStatistic
 BoundedRangeStatistic
 BoundedRangeStatistic
 RangeStatistic
 
Methods inherited from interface javax.management.j2ee.statistics.JDBCConnectionStats
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
 

Method Detail

public CountStatistic getCreateCount()
已创建的连接数。
英文文档:

getCreateCount

CountStatistic getCreateCount()
Number of connections created.


public CountStatistic getCloseCount()
已关闭的连接数。
英文文档:

getCloseCount

CountStatistic getCloseCount()
Number of connections closed.


public BoundedRangeStatistic getPoolSize()
连接池的大小。
英文文档:

getPoolSize

BoundedRangeStatistic getPoolSize()
Size of the connection pool.


public BoundedRangeStatistic getFreePoolSize()
池中空闲的连接数。
英文文档:

getFreePoolSize

BoundedRangeStatistic getFreePoolSize()
Number of free connections in the pool.


public RangeStatistic getWaitingThreadCount()
等待连接的线程数。
英文文档:

getWaitingThreadCount

RangeStatistic getWaitingThreadCount()
Number of threads waiting for a connection.



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!