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 2006/11/28 02:53:22 UTC

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

     [ http://issues.apache.org/jira/browse/DIRMINA-317?page=all ]

Mark Webb updated DIRMINA-317:
------------------------------

    Attachment: getCreationTime.patch

This patch adds creation time support to IoService.

> add supporting statistical methods to IoService
> -----------------------------------------------
>
>                 Key: DIRMINA-317
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-317
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0
>         Environment: Linux, Java 1.5 
>            Reporter: Mark Webb
>            Priority: Minor
>         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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira