Executors工厂类

Executors工厂类 在java.util.concurrent包下提供了Executors这个线程池的工厂类,可以通过该类产生不同的线程池。下面通过源代码分析各个线程池的作用。 /** * Creates a thread pool that reuses a fixed number of threads * operating off a shared unbound
相关文章
相关标签/搜索