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

- Packages that use ScheduledExecutorService
  Package | Description
  --- | ---
  java.util.concurrent | Utility classes commonly useful in concurrent programming.

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

    Classes in java.util.concurrent that implement ScheduledExecutorService
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ScheduledThreadPoolExecutor` A `ThreadPoolExecutor` that can additionally schedule commands to run after a given delay, or to execute periodically.

    Methods in java.util.concurrent that return ScheduledExecutorService
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ScheduledExecutorService` | Executors.`newScheduledThreadPool(int corePoolSize)` Creates a thread pool that can schedule commands to run after a given delay, or to execute periodically.
    `static ScheduledExecutorService` | Executors.`newScheduledThreadPool(int corePoolSize, ThreadFactory threadFactory)` Creates a thread pool that can schedule commands to run after a given delay, or to execute periodically.
    `static ScheduledExecutorService` | Executors.`newSingleThreadScheduledExecutor()` Creates a single-threaded executor that can schedule commands to run after a given delay, or to execute periodically.
    `static ScheduledExecutorService` | Executors.`newSingleThreadScheduledExecutor(ThreadFactory threadFactory)` Creates a single-threaded executor that can schedule commands to run after a given delay, or to execute periodically.
    `static ScheduledExecutorService` | Executors.`unconfigurableScheduledExecutorService(ScheduledExecutorService executor)` Returns an object that delegates all defined `ScheduledExecutorService` methods to the given executor, but not any other methods that might otherwise be accessible using casts.

    Methods in java.util.concurrent with parameters of type ScheduledExecutorService
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ScheduledExecutorService` | Executors.`unconfigurableScheduledExecutorService(ScheduledExecutorService executor)` Returns an object that delegates all defined `ScheduledExecutorService` methods to the given executor, but not any other methods that might otherwise be accessible using casts.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.