谈谈线程池中,线程的增长/回收策略

一、序public static ExecutorService newThreadPool() { return new ThreadPoolExecutor( 30, 60, 60L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue());}我们今天就来借这个问题,聊聊线程池中维护的线程,它增长和回收的策略是什么样的?二、线程池的

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部