- java.util.concurrent.Executors
Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory, and Callable classes defined in this package. This class supports the following kinds of methods:
- Methods that create and return an ExecutorService set up with
commonly useful configuration settings. - Methods that create and return a ScheduledExecutorService set up with
commonly useful configuration settings. - Methods that create and return a “wrapped” ExecutorService, that
disables reconfiguration by making implementation-specific methods
inaccessible. - Methods that create and return a ThreadFactory that sets newly
created threads to a known state. - Methods that create and return a Callable out of other closure-like
forms, so they can be used in execution methods requiring Callable.
为 Execut
本文详细介绍java.util.concurrent.Executors包提供的工具方法,包括创建配置合理的ExecutorService、ScheduledExecutorService实例,提供不可重新配置的ExecutorService,设置新建线程状态的ThreadFactory,以及将其他闭包形式转换为Callable的方法。
1247

被折叠的 条评论
为什么被折叠?



