commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <dirk.verbe...@pandora.be>
Subject Re: [DBCP] API to get connection pool statistics?
Date Fri, 04 Mar 2005 17:08:14 GMT
The methods you are looking for are:
ds.getNumActive() => in use
ds.getNumIdle() => available in pool
ds.getMaxActive() - ds.getNumActive() => available for use

-- Dirk


Mike Gorman wrote:
> We'd like to be able to report on how many connections are in use, how
> many are available, etc.  Is there an accessible API to get those
> statistics?
>  
> Regards,
>  
> Mike Gorman
> Chief Software Architect
> Rivermine Software
> The smarter way to manage telecom.
> http://www.rivermine.com <http://www.rivermine.com/> 
> mike.gorman@rivermine.com
> w: 703.652.4906
> c: 803.318.8090
>  
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message