Uses of Interface
java.util.concurrent.Executor
| Package | Description |
|---|---|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
-
Uses of Executor in java.util.concurrent
Subinterfaces of Executor in java.util.concurrent Modifier and Type Interface Description interfaceExecutorServiceinterfaceScheduledExecutorServiceAnExecutorServicethat can schedule commands to run after a given delay, or to execute periodically.Classes in java.util.concurrent that implement Executor Modifier and Type Class Description classAbstractExecutorServiceProvides default implementations ofExecutorServiceexecution methods.classForkJoinPoolAnExecutorServicefor runningForkJoinTasks.classScheduledThreadPoolExecutorAThreadPoolExecutorthat can additionally schedule commands to run after a given delay, or to execute periodically.classThreadPoolExecutorAnExecutorServicethat executes each submitted task using one of possibly several pooled threads, normally configured usingExecutorsfactory methods.Constructors in java.util.concurrent with parameters of type Executor Constructor Description ExecutorCompletionService(Executor executor)Creates an ExecutorCompletionService using the supplied executor for base task execution and aLinkedBlockingQueueas a completion queue.ExecutorCompletionService(Executor executor, BlockingQueue<Future<V>> completionQueue)Creates an ExecutorCompletionService using the supplied executor for base task execution and the supplied queue as its completion queue.