28.JAVA异步编程:Executor框架

目录 1.Executor与ExecutorService接口 2.实用工具类 Executors 3.异步任务的批量执行:CompletionService 1.Executor与ExecutorService接口 java.util.concurrent.Executor接口是对任务的执行进行的抽象,该接口仅定义了如下方法: void execute(Runnable command) 其中,
相关文章
相关标签/搜索