You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by da...@daune-consult.com on 2006/09/18 09:04:52 UTC

Threading in 0.9.5

Hi,

I have just noticed release 0.9.5, that (re-)includes a thread filter.

It is not clear for me what ThreadModel is now for.

Is it still in 0.9.5 for backward compatibility, or is it supposed to  
interact with thread filter?

Could someone shed some light on this?

Thanks & Regards,

J-F


Re: Threading in 0.9.5

Posted by Trustin Lee <tr...@gmail.com>.
On 9/18/06, daune.jf@daune-consult.com <da...@daune-consult.com> wrote:
> Hi,
>
> I have just noticed release 0.9.5, that (re-)includes a thread filter.
>
> It is not clear for me what ThreadModel is now for.
>
> Is it still in 0.9.5 for backward compatibility, or is it supposed to
> interact with thread filter?
>
> Could someone shed some light on this?

ThreadModel is a kind of shortcut for adding a thread pool filter
(ExecutorFilter), but we concluded it doesn't simplify anything.  It
will be removed in 2.0.  So, please set the thread model to
ThreadModel.MANUAL, and just do what you've been doing so far.

Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6