Executor
Interface Executor
- All Known Subinterfaces:
- ExecutorService, ScheduledExecutorService
- All Known Implementing Classes:
- AbstractExecutorService, ForkJoinPool, ScheduledThreadPoolExecutor, ThreadPoolExecutor
public interface Executor
An object that executes submitted Runnable
tasks. This interface provides a way of decoupling task submission from the mechanics of how each task will be run, including details of thread use, scheduling, etc. An Executor