Julien Vermillard wrote:
On Wed, 19 Mar 2008 23:53:03 +0100
Emmanuel Lecharny <[EMAIL PROTECTED]> wrote:

Frédéric Brégier wrote:
Those numbers are useful in production... (at least for my case)
I know, it's only about statistics but some people want them...

If I follow your idea, what will return IoService.getStatistics() ?
I guess that Peter meant something like : getStatistics( IoSession.GET_MANAGED_SESSION_COUNT ), etc.

Then you have your stats, _and_ you don't clutter the API with dozens
of additional methods.

Otherwise, what about using JMX for such stats ?


Hi,

heh I don't think JMX should be mandatory for having access to stats.
And you talk about bloat ? ;)
Well, JMX is pretty transversal... We can't say it's a bloat :)

Anyway, it was just a proposal :)

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to