## Uses of Interface
java.util.concurrent.Executor

- Packages that use Executor
  Package | Description
  --- | ---
  java.util.concurrent | Utility classes commonly useful in concurrent programming.
  org.openide.util.lookup | Support classes for the Registration and `Lookup` extension mechanism.

- - ### Uses of Executor in java.util.concurrent

    Subinterfaces of Executor in java.util.concurrent
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ExecutorService` An `Executor` that provides methods to manage termination and methods that can produce a `Future` for tracking progress of one or more asynchronous tasks.
    `interface` | `ScheduledExecutorService` An `ExecutorService` that 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 and Description
    --- | ---
    `class` | `AbstractExecutorService` Provides default implementations of `ExecutorService` execution methods.
    `class` | `ForkJoinPool` An `ExecutorService` for running `ForkJoinTask`s.
    `class` | `ScheduledThreadPoolExecutor` A `ThreadPoolExecutor` that can additionally schedule commands to run after a given delay, or to execute periodically.
    `class` | `ThreadPoolExecutor` An `ExecutorService` that executes each submitted task using one of possibly several pooled threads, normally configured using `Executors` factory methods.

    Constructors in java.util.concurrent with parameters of type Executor
    Constructor and Description
    `ExecutorCompletionService(Executor executor)` Creates an ExecutorCompletionService using the supplied executor for base task execution and a `LinkedBlockingQueue` as 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.

  - ### Uses of Executor in org.openide.util.lookup

    Methods in org.openide.util.lookup with parameters of type Executor
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractLookup.`addPair(AbstractLookup.Pair<?> pair, Executor notifyIn)` The method to add instance to the lookup with.
    `protected void` | AbstractLookup.`removePair(AbstractLookup.Pair<?> pair, Executor notifyIn)` Remove instance.
    `protected void` | ProxyLookup.`setLookups(Executor notifyIn, Lookup... lookups)` Changes the delegates immediatelly, notifies the listeners in provided executor, potentially later.
    `protected void` | AbstractLookup.`setPairs(Collection<? extends AbstractLookup.Pair> collection, Executor notifyIn)` Changes all pairs in the lookup to new values, notifies listeners using provided executor.

    Constructors in org.openide.util.lookup with parameters of type Executor
    Constructor and Description
    `Content(Executor notifyIn)` Creates a content associated with an executor to handle dispatch of changes.
    `InstanceContent(Executor notifyIn)` Creates a content associated with an executor to handle dispatch of changes.

Copyright © 2025 API Design. All Rights Reserved.