mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Im" <im-ja...@hotmail.com>
Subject Re: IoService question
Date Mon, 27 Nov 2006 16:38:07 GMT
>it would be nice for times in which we need some performance numbers.

Just some random ideas.

I could also want a resetStats() method. I don't know if this is the
place to put these methods. May be IoService could contain a method that
gives back a more specialized object to get these info from.

I thing that performance monitoring could be expanded to have more and
more details. I'm thinking about 3 monitoring profiles (low, medium,
high) that gives a growing number of information details.

Mark Webb wrote:
>I was looking at the IoService class and noticed that there are some fields
>that would be nice to have:
>    long getCreationTime();
>    long getReadBytes();
>    long getWrittenBytes();
>    long getReadMessages();
>    long getWrittenMessages();
>These methods are in the IoSession interface, and thought it would make
>sense to also have them in the IoService interface.  The last 4 might be a
>little tougher to implement, but it would be nice for times in which we
>some performance numbers.
>Thank you.

Log på MSN Messenger direkte på nettet:  http://webmessenger.msn.com

View raw message