org.huihoo.jfox.pool.thread
Class QueueThreadPool

java.lang.Object
  extended byorg.huihoo.jfox.pool.thread.QueueThreadPool

public class QueueThreadPool
extends java.lang.Object

定义池的最大线程数,当达到这个最大数后还有请求到来的话, 新的请求将放到队列中等待执行,以免产生过多的线程


Constructor Summary
QueueThreadPool()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueThreadPool

public QueueThreadPool()
Method Detail

main

public static void main(java.lang.String[] args)