2022年3月12日

Java线程池

摘要: 线程池相关API JDK 5.0起提供了线程池相关API:ExecutorService和ExecutorsExecutorService:真正的线程池接口。常见子类ThreadPoolExecutor void execute(Runnable command) :执行任务/命令,没有返回值,一般 阅读全文

posted @ 2022-03-12 19:37 HHHuskie 阅读(22) 评论(0) 推荐(0) 编辑

导航