摘要:
ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler)参数说明:corePoolSize: 是指保留的线程池的线程数大小。keepAliveTime: 空闲线程的结束时间。这个是指线程数超出corePoolSize(小于maximumPoolSize)时,线程i 阅读全文