会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小冷
To the world you may be one person, but to one person you may be the world.
博客园
首页
新随笔
联系
订阅
管理
2020年5月11日
Java线程池
摘要: 一.Java提供Executors工具类来创建四种类型的线程池: 1.单线程的线程池:Executors.newSingleThreadExecutor() 2.定长线程池:Executors.newFixedThreadPool(int nThreads) 3.可缓存的线程池:Executors.
阅读全文
posted @ 2020-05-11 14:23 lujuhao
阅读(155)
评论(0)
推荐(0)
公告