The java.util.concurrent package defines three Executor Interfaces :
- Executor : a simple Interface that supports launching new tasks.
- ExecutorService : A subinterface of Executor, which adds features that help manage the lifecycle, both of the individual tasks and of the Executor itself.
- ScheduledExecutorService : a subinterface of ExecutorService, supports future and/or periodic execution of tasks.
Posted in: