过时自行车

文章
3
资源
0
加入时间
3年2月3天

多线程-线程池执行多业务逻辑

/** * 1.线程池执行不同的业务逻辑. * 2.获取每个任务执行的结果 * 3.最后的结果会用到之前的结果 */public class SearchUserListDTO { public static void main(String[] args) throws InterruptedException { ExecutorService execut...