ThreadPoolExecutor的配置与使用

ThreadPoolExecutor为Executor提供了基本的实现,这些Executor是由Executors中的静态工厂方法返回的。ThreadPoolExecutor是一种灵活的、稳定的线程池,容许进行各类定制。java 1.Executors中的静态工厂方法 其实不论是newCachedThreadPool()、newFixedThreadPool(int nThreads)仍是newS
相关文章
相关标签/搜索