java多线程管理 concurrent包用法详解,所有线程执行完成时再执行余下的内容
//list 100条每组切分
List> allList = getAllList(insetQuestionList, 100);
if (allList != null && !allList.isEmpty()) {
ExecutorService service = Executors.newFixedThreadPool(10);
CountDownLatch cd =
原创
2015-11-11 16:52:47 ·
375 阅读 ·
0 评论