tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Executor - package dependencies
Date Mon, 08 Dec 2008 16:59:59 GMT
Remy Maucherat wrote:
> On Mon, 2008-12-08 at 09:04 -0700, Filip Hanik - Dev Lists wrote:
>   
>> The executor, the way we have optimized it works really well now.
>>
>> I'd like to get rid of all thread pooling inside the NIO connector, but 
>> that would create a funky package dependency from tomcat-coyote.jar -> 
>> catalina.jar
>>
>>
>> any thoughts on how we could structure this so that the thread pool 
>> (<Executor> interface) could be reused in other parts of tomcat code?
>>     
>
> Components should use the java.util.concurrent.Excutor interface, the
> other one adds Lifecycle and that's it.
>   
the interface is somewhat too limited. an implementation of it would 
have to either block forever or never block, and there is no in between.

> I see you broke that design by Filipizing it and broke that design. It
> is up to you to solve your own problems, I think ;)
>   
I'll noodle on it a bit, see if i can think of something to defilipize it

Filip
> Rémy
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message