posts - 46,  comments - 9,  views - 13万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
10 2023 档案
使用Guava的ListenableFuture完成异步多线程任务并返回结果
摘要:private static ExecutorService executors = new ThreadPoolExecutor(5, 20, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>(10), new ThreadF 阅读全文
posted @ 2023-10-17 14:54 十七年蝉 阅读(167) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示