线程池

创建一个线程数量最大为20的线程池

private ThreadPoolExecutor tpe2 = (ThreadPoolExecutor) Executors.newFixedThreadPool(20);

 

 

  

 

posted @ 2015-09-19 18:27  天地大同  阅读(129)  评论(0)    收藏  举报