mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: IoService API growth
Date Wed, 19 Mar 2008 22:53:03 GMT
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



Mime
View raw message