Christopher,

So... when a connection is established, save the current timestamp on
> the connection. When it closes, take the delta of the
> start-of-connection and end-of-connection, and add it to a bounded queue
> (say, 100? 1000?) of most-recent-connection-lifetimes. Any time you
> request the average from the bean, it does the math on the whole set?
>

That makes totally sense, any way to listen those events in Tomcat?

>

Reply via email to