会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
感遇
每天进步一点点
博客园
首页
新随笔
联系
订阅
管理
2017年4月8日
并发编程:任务执行
摘要: 1、每当看到下面这种代码 new Thread(runnable).start() 时,请考虑用Executor 2、Executor 1)创建方式:Executors.new.. 2)通过使用Executor,可以实现各种调优、管理、监视、记录日志、错误报告 3)Executor有4个生命周期:创
阅读全文
posted @ 2017-04-08 22:43 感遇
阅读(149)
评论(0)
推荐(0)
公告