线程池核心线程、等待队列、非核心线程的创建时机
线程池核心线程、等待队列、非核心线程的创建时机创建入下线程池,核心线程数为2,最大活动线程数为10,缓存队列长度为2。private static ThreadPoolExecutor executor = new ThreadPoolExecutor(2, 10, 1000L, TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(2), new ThreadFactory() {