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 ?

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


Reply via email to