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 2008/05/13 04:54:55 UTC
[jira] Created: (DIRMINA-582) IoService.getManagedSession() should
return a Map instead of a Set.
IoService.getManagedSession() should return a Map instead of a Set.
-------------------------------------------------------------------
Key: DIRMINA-582
URL: https://issues.apache.org/jira/browse/DIRMINA-582
Project: MINA
Issue Type: Improvement
Components: Core
Affects Versions: 2.0.0-M1
Reporter: Trustin Lee
Assignee: Trustin Lee
Priority: Minor
Fix For: 2.0.0-M2
IoSession already has a getId() method which returns a unique ID of the session. Therefore, it would save a lot of time to search for a session with a certain ID if IoService.getManagedSessions() returns Map<Long, IoSession> instead of Set<IoSession>.
Related discussion is found here: http://markmail.org/message/tbr3wuk42auvnty2
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRMINA-582) IoService.getManagedSession() should
return a Map instead of a Set.
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee resolved DIRMINA-582.
---------------------------------
Resolution: Fixed
Done. The change is trivial, but it will cause some compilation errors on the user side, but it's expected.
> IoService.getManagedSession() should return a Map instead of a Set.
> -------------------------------------------------------------------
>
> Key: DIRMINA-582
> URL: https://issues.apache.org/jira/browse/DIRMINA-582
> Project: MINA
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-M1
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 2.0.0-M2
>
>
> IoSession already has a getId() method which returns a unique ID of the session. Therefore, it would save a lot of time to search for a session with a certain ID if IoService.getManagedSessions() returns Map<Long, IoSession> instead of Set<IoSession>.
> Related discussion is found here: http://markmail.org/message/tbr3wuk42auvnty2
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRMINA-582) IoService.getManagedSession() should
return a Map instead of a Set.
Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Vermillard closed DIRMINA-582.
-------------------------------------
> IoService.getManagedSession() should return a Map instead of a Set.
> -------------------------------------------------------------------
>
> Key: DIRMINA-582
> URL: https://issues.apache.org/jira/browse/DIRMINA-582
> Project: MINA
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-M1
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 2.0.0-M2
>
>
> IoSession already has a getId() method which returns a unique ID of the session. Therefore, it would save a lot of time to search for a session with a certain ID if IoService.getManagedSessions() returns Map<Long, IoSession> instead of Set<IoSession>.
> Related discussion is found here: http://markmail.org/message/tbr3wuk42auvnty2
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.