Uses of Interface
java.util.concurrent.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 classScheduledThreadPoolExecutorAThreadPoolExecutorthat 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 ScheduledExecutorServiceExecutors. newScheduledThreadPool(int corePoolSize)Creates a thread pool that can schedule commands to run after a given delay, or to execute periodically.static ScheduledExecutorServiceExecutors. newScheduledThreadPool(int corePoolSize, ThreadFactory threadFactory)Creates a thread pool that can schedule commands to run after a given delay, or to execute periodically.static ScheduledExecutorServiceExecutors. newSingleThreadScheduledExecutor()Creates a single-threaded executor that can schedule commands to run after a given delay, or to execute periodically.static ScheduledExecutorServiceExecutors. newSingleThreadScheduledExecutor(ThreadFactory threadFactory)Creates a single-threaded executor that can schedule commands to run after a given delay, or to execute periodically.static ScheduledExecutorServiceExecutors. unconfigurableScheduledExecutorService(ScheduledExecutorService executor)Returns an object that delegates all definedScheduledExecutorServicemethods 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 ScheduledExecutorServiceExecutors. unconfigurableScheduledExecutorService(ScheduledExecutorService executor)Returns an object that delegates all definedScheduledExecutorServicemethods to the given executor, but not any other methods that might otherwise be accessible using casts.