JCAConnectionPoolStats (Java EE 5)

Java EE API


javax.management.j2ee.statistics Interface JCAConnectionPoolStats

All Superinterfaces:
JCAConnectionStats, Stats

public interface JCAConnectionPoolStats
extends JCAConnectionStats

Implements: JCAConnectionStats

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

Specifies the statistics provided by a JCA Connection Pool


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

Method Detail

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

getCloseCount

CountStatistic getCloseCount()
The number of connections closed

Returns:
CountStatistic

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

getCreateCount

CountStatistic getCreateCount()
The number of connections created

Returns:
CountStatistic

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

getFreePoolSize

BoundedRangeStatistic getFreePoolSize()
The number of free connections in the pool

Returns:
BoundedRangeStatistic

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

getPoolSize

BoundedRangeStatistic getPoolSize()
The size of the connection pool

Returns:
BoundedRangeStatistic

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

getWaitingThreadCount

RangeStatistic getWaitingThreadCount()
The number of threads waiting for a connection

Returns:
BoundedRangeStatistic


Submit a bug or feature

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

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

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