directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <>
Subject [jira] Commented: (DIRMINA-42) SessionManagers should manage list of sessions being managed.
Date Sun, 18 Dec 2005 16:14:35 GMT
    [ ] 

Trustin Lee commented on DIRMINA-42:

Creating unmodifiable collection will get very tricky because we'll not be able to iterate
it if we wrapped the original collection simply; iteration loop will definitely throw a ConcurrentModificationException.
 So we need to compromise here.

1. Create a special data structure which can be iterated without synchronization
2. MINA returns a copy of the collection

I think the first one is the best.  We'll also have to provide a way to synchronize with MINA
in case users don't want to see that ghost sessions(which is already closed) are returned.

> SessionManagers should manage list of sessions being managed.
> -------------------------------------------------------------
>          Key: DIRMINA-42
>          URL:
>      Project: Directory MINA
>         Type: New Feature
>     Versions: 0.7
>     Reporter: Trustin Lee
>     Assignee: Niklas Therning
>      Fix For: 0.9.1
>  Attachments:
> Users are maintaining the list of managed sessions in acceptors and connectors.  It will
be much better if MINA can handle this.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message