+1. This would leave great potential for expansion (although I am not sure what other stats one would want :) )
On Thu, Mar 20, 2008 at 12:54 AM, peter royal <[EMAIL PROTECTED]> wrote: > On Mar 19, 2008, at 3:23 PM, 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() ? > > What will you propose instead of those methods in IoService? > > Also, those numbers are there, not elsewhere, so moving out > > of IoService, how could you do the same service ? > > > > I 'm not an expert as you on Mina, so I probably miss something there. > > i was thinking of taking all the methods, and making: > > IoServiceStatistics getStatistics() > > .. they'll all still be available, just as methods on the statistics > object. > > -pete > > > -- > [EMAIL PROTECTED] - http://fotap.org/~osi > > > > -- -------------------------------- Talent hits a target no one else can hit; Genius hits a target no one else can see.
