java.util.concurrent下线程池总结(1)

首先,看下总的结构:   Executors类,提供了一系列工厂方法用于创先线程池,返回的线程池都实现了ExecutorService接口。 public static ExecutorService newFixedThreadPool(int nThreads) 创建固定数目线程的线程池。 public static ExecutorService newCachedThreadPool()
相关文章
相关标签/搜索