The reason that I stumbled across this was that I am working on the JMX
portion of MINA.  If you look at the management code, you will see that some
of the ideas you have are here.


On 11/27/06, James Im <[EMAIL PROTECTED]> wrote:

>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
>need
>some performance numbers.
>
>comments/questions?
>Thank you.
>

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


Reply via email to