You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/09/30 12:53:50 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_12531304 ]
Trustin Lee commented on DIRMINA-317:
-------------------------------------
All proposed methods have been added except for getCreationTime(). creationTime has been replaced with activationTime, which is set when the service is actually activated (e.g. on bind).
> 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.