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

Trustin Lee updated DIRMINA-317:
--------------------------------

        Fix Version/s: 2.0.0-M1
    Affects Version/s:     (was: 2.0.0-M1)

Once these methods are implemented, we could optimize StatCollector and result 
in more correct statistics.

> 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.

Reply via email to