KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > pool > thread > QueueThreadPool


1 /* JFox, the OpenSource J2EE Application Server
2  *
3  * Distributable under GNU LGPL license by gun.org
4  * more details please visit http://www.huihoo.org/jfox
5  */

6 package org.jfox.pool.thread;
7
8 /**
9  * 定义池的最大线程数,当达到这个最大数后还有请求到来的话,
10  * 新的请求将放到队列中等待执行,以免产生过多的线程
11  *
12  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
13  */

14
15 public class QueueThreadPool {
16
17     public static void main(String JavaDoc[] args) {
18
19     }
20 }
21
Popular Tags