You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Mark Webb (JIRA)" <ji...@apache.org> on 2007/05/17 04:23:16 UTC

[jira] Commented: (DIRMINA-317) add supporting statistical methods to IoService

    [ https://issues.apache.org/jira/browse/DIRMINA-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496453 ] 

Mark Webb commented on DIRMINA-317:
-----------------------------------

to make this patch easier, I think it makes the most sense to place the code in the BaseIoService class.  Thoughts?

> add supporting statistical methods to IoService
> -----------------------------------------------
>
>                 Key: DIRMINA-317
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-317
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>         Environment: Linux, Java 1.5 
>            Reporter: Mark Webb
>            Priority: Minor
>             Fix For: 2.0.0-M1
>
>         Attachments: getCreationTime.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.