You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Anita Kulshreshtha <a_...@yahoo.com> on 2007/10/02 14:08:21 UTC

Jetty Connector Statistics?

    Jetty AbstractConnector provides many statistics. A few of these
are listed as undefined if statsOn is false. Does this mean others are
valid values at all time? If statsOn is true, how often are the value
updated?
Any help from Jetty experts will be greatly appreciated.

TIA
Anita


       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

Re: Jetty Connector Statistics?

Posted by Viet Nguyen <vh...@gmail.com>.
After digging into Jetty's code for more information on how
AbstractConnectors work, I found out that the statistics do not change
unless the connection is closed. The only instances in their code where any
of the statistics change are in statsReset(), connectionOpened(), and
connectionClosed(). Therefore, the statistics that they provide will not be
"live" stats because things such as number of requests are not updated until
connectionClosed() is called.

I used http://www.mortbay.org/xref/org/mortbay/jetty/AbstractConnector.htmlas
my reference.

Thanks,
Viet

On 10/2/07, Anita Kulshreshtha <a_...@yahoo.com> wrote:
>
>     Jetty AbstractConnector provides many statistics. A few of these
> are listed as undefined if statsOn is false. Does this mean others are
> valid values at all time? If statsOn is true, how often are the value
> updated?
> Any help from Jetty experts will be greatly appreciated.
>
> TIA
> Anita
>
>
>
>
> ____________________________________________________________________________________
> Be a better Heartthrob. Get better relationship answers from someone who
> knows. Yahoo! Answers - Check it out.
> http://answers.yahoo.com/dir/?link=list&sid=396545433
>