directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [mina] Using StreamIoHandler
Date Fri, 14 Oct 2005 15:52:36 GMT
Hi Jose,

2005/10/14, Jose Alberto Fernandez <jalberto@cellectivity.com>:
>
> Thanks Paolo.
>
> Another question, has anyone implemented a thread-pool for StreamIo
> workers?
> BaseThreadPool is too filter oriented for this. It would be nice having
> something that implements a consistent algorithm on MINA but that can be
> used for these other kinds of tasks.
>
> Thanks in advance,


If you're going to use StreamIoHandler, then you could simply use thread
pools provided in java.util.concurrent or Doug Lea's concurrent package.

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message