private static ExecutorService saveThreadPool = new ThreadPoolExecutor(2, 100, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable(), Executors.defaultThreadFactory(), new ThreadPoolExecutor.DiscardPolicy());
记一次线程池调优经历 (6)
内容版权声明:除非注明,否则皆为本站原创文章。
private static ExecutorService saveThreadPool = new ThreadPoolExecutor(2, 100, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable(), Executors.defaultThreadFactory(), new ThreadPoolExecutor.DiscardPolicy());
内容版权声明:除非注明,否则皆为本站原创文章。