摘要: 前言 相信接触过并发系统的小伙伴们基本都使用过线程池,或多或少调整过对应的参数。以 Java 中的经典模型来说,能够配置核心线程数、最大线程数、队列容量等等参数。 public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, lon 阅读全文
posted @ 2022-10-05 14:40 xiaoxi666 阅读(438) 评论(0) 推荐(1) 编辑
TOP