AnsweredAssumed Answered

Monitoring pools

Question asked by JohnGregg on Aug 27, 2010
Latest reply on Sep 29, 2010 by Hiko_Davis
Hi all,

I'm trying to use Wily to add some monitoring to commons-httpclient. In particular, I want to know the maximum number of threads waiting for a connection and how long they're waiting. While it might not be possible to monitor the actual time spent waiting, I've hacked up a pair of incrementors and decrementors that attempt to track the number of threads in the "doGetConnection" method. The number that gets reported to Wily, however, is always 0, I think because at the end of the interval, if no threads are in that method at that moment, the count is 0. What I really want is a high-water mark per interval. Is such a thing possible?