摘要: Executor 一个接口,其定义了一个接收Runnable对象的方法execute ExecutorService 是一个比Executor使用更广泛的子类接口,其提供了生命周期管理的方法,submit方法返回一个Future对象,并且可以传入Callable对象获取线程返回值 Callable 阅读全文
posted @ 2020-10-29 00:11 R.困兽 阅读(56) 评论(0) 推荐(0) 编辑