摘要: 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)