07 2019 档案

摘要:1. 创建ScheduledThreadPoolExecutor        ScheduledThreadPoolExecutor继承自ThreadPoolExecutor,实现了ScheduledExecutorServic 阅读全文
posted @ 2019-07-11 17:20 DespacitoYo 阅读(330) 评论(0) 推荐(0)
摘要:1 创建ThreadPoolExecutor ThreadPollExecutor有四个构造函数,但本质上都是调用这一个构造函数。 corePoolSize : 线程池核心线程数量 maximumPoolSize :线程池最大线程数量 keepAliveTime :线程空闲时间 unit :空闲时间 阅读全文
posted @ 2019-07-01 15:11 DespacitoYo 阅读(249) 评论(0) 推荐(0)