Its nodes are configured to perform multithreaded processing of the tasks using the ExecutorService interface.
其中节点被配置成使用ExecutorService接口来进行多线程处理。
As great as the ExecutorService interface is, certain tasks need to be done in a scheduled fashion, such as executing a given task at determined intervals or at a specific time.
尽管ExecutorService接口非常有用,但某些任务仍需要以计划方式执行,比如以确定的时间间隔或在特定时间执行给定的任务。
For this, the JSR-166 experts created a far more useful abstraction, the ExecutorService interface, which models the thread-starting factory as a service that can be controlled collectively.
对于此问题,JSR - 166专家创建了一个更加有用的抽象(ExecutorService接口),它将线程启动工厂建模为一个可集中控制的服务。
应用推荐