mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRMINA-184) Allow ThreadPool used by ThreadPoolFilter to be pluggable
Date Sun, 04 Jun 2006 05:06:31 GMT
    [ http://issues.apache.org/jira/browse/DIRMINA-184?page=comments#action_12414621 ] 

Trustin Lee commented on DIRMINA-184:

The problem with extra properties is caused by the impedence mismatch between thread pools
and executors.  Because the executor abstracts all kinds of thread model, we can safely say
it's a superset of thread pools.

What do you think about following the same way the JDK did, like creating an ExecutorFilter
to get rid of this impedence mismatch.  By doing this, we can retain the extra properties
in ThreadPool and make it extend an Executor interface. Of course, the Executor interface
should be a backported version of Java 5.

> Allow ThreadPool used by ThreadPoolFilter to be pluggable
> ---------------------------------------------------------
>          Key: DIRMINA-184
>          URL: http://issues.apache.org/jira/browse/DIRMINA-184
>      Project: Directory MINA
>         Type: Improvement

>     Reporter: peter royal
>     Assignee: peter royal
>      Fix For: 0.9.5
>  Attachments: NewThreadPoolFilter.java, pluggable thread pool.diff
> Attached is the start of a patch to allow the ThreadPool that a ThreadPoolFilter uses
to be pluggable. Currently depends on Java5, but works as an illustration of thoughts.

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