commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabrice MORIN <fmo...@iga.fr>
Subject RE: A way to determine pool size / Logging?
Date Tue, 22 Jan 2008 16:33:00 GMT
You can call the methods from the DataSource class :

getMaxActive()
getNumActive()
getNumIdle()

and log the results (integer values)...

FM

-----Message d'origine-----
De : Rob Wilson [mailto:RobW@bestexecution.co.uk] 
Envoyé : mardi 22 janvier 2008 16:40
À : Rob Wilson; user@commons.apache.org
Objet : RE: A way to determine pool size / Logging?

Hi all,

 

Does DBCP log out any pool size information?  If not, how can I
determine how many connections are idle / active - maybe even
determining how old each one is?

 

Thanks,

Rob.

 



This message is confidential and is intended only for the named individual. If you are not
the intended recipient of this message, please notify the sender immediately and delete this
message from your system. The sender does not accept liability for any errors or omissions
in the content of this message arising from e-mail transmission which cannot be guaranteed
to be secure or error free. The contents of this message do not constitute a commitment by
Best Execution. The unauthorised use, disclosure, distribution and/or copying of this e-mail
or any information it contains is prohibited
All messages are certified to have been scanned for viruses, using McAffee Active VirusScan.

Best Execution 
Dowding House
Coach and Horses Passage
Royal Tunbridge Wells
Kent
TN2 5NP

Tel: 01892 547 666

Web: www.Bestexecution.co.uk


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


Mime
View raw message