Refactored the thread pooling when using an executor, this gets rid of duplicate...
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 9 Dec 2008 20:56:59 +0000 (20:56 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 9 Dec 2008 20:56:59 +0000 (20:56 +0000)
commit8a46b4eb3287c2f8ffac60911714778b3e8e53ec
tree3075130ba4f24f95e213f5ffa56e51e1fa483ec6
parent13cdeecb00702fd5db3df01b4f256195b10c4c99
Refactored the thread pooling when using an executor, this gets rid of duplicate code in the NIO connector as well as in the org.apache.catalina.core.StandardThreadExecutor package.
I provided a ThreadPoolExecutor with a small extension to the java.util.concurrent
The connector method setExecutor still take a java.util.concurrent.Executor as an argument to provide the most flexibility

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@724886 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/core/StandardThreadExecutor.java
java/org/apache/tomcat/util/net/NioEndpoint.java
java/org/apache/tomcat/util/threads/TaskQueue.java [new file with mode: 0644]
java/org/apache/tomcat/util/threads/TaskThreadFactory.java [new file with mode: 0644]
java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java [new file with mode: 0644]