线程池的创建,和线程池的执行流程
public static void main(String[] args) { //创建两个数据线程 ExecutorService poolThread = Executors.newFixedThreadPool(2); Future<?> submit = poolThread.submit(new Runnable(){ @Override public void run() { System.out.println(&