核心类接口:java.util.concurrent
普通线程池:java.util.concurrent.ExecutorService
调度线程池:java.util.concurrent.ScheduledExecutorService
用java.util.concurrent.Executor对线程池进行创建
创建无大小限制的线程池:public static ExecutorService newCachedThreadPool
创建固定大小的线程池:public static ExecutorService newFixedThreadPool
单线程池:public static ScheduledExecutorService newSingleThreadScheduledExecutor
定时调度池:public static ScheduledExecutorService newScheduledThreadPool