Java多线程——线程池的ThreadPoolExecutor参数、阻塞队列、拒绝策略以及处理流程
常见的四种线程池:可以看一下其源码:publicstaticExecutorServicenewSingleThreadExecutor(){returnnewFinalizableDelegatedExecutorService(newThreadPoolExecutor(1,1,0L,TimeUnit.MILLISECONDS,newLinkedBlockingQueue()));}publi