manage concurrent threads, serial, can one thread can also custom concurrent threads; you can add tasks to perform any Callable task, such as network access, database access, complicated calculation, ...
submit是ExecutorService接口提供的一个提交任务的方法,用于提交一个Runnable或Callable任务到线程池中执行。该方法会返回一个Future对象,Future对象可以用来获取任务执行结果或取消任务执行。
Some results have been hidden because they may be inaccessible to you
Show inaccessible results