Fork me on GitHub
摘要: java中CompletionService的使用 之前的文章中我们讲到了ExecutorService,通过ExecutorService我们可以提交一个个的task,并且返回Future,然后通过调用Future.get方法来返回任务的执行结果。 这种方式虽然有效,但是需要保存每个返回的Futu 阅读全文
posted @ 2020-04-03 09:25 flydean 阅读(1404) 评论(0) 推荐(0) 编辑