Uses of Interface
java.util.concurrent.ScheduledExecutorService
Packages that use ScheduledExecutorService
-
Uses of ScheduledExecutorService in java.util.concurrent
Classes in java.util.concurrent that implement ScheduledExecutorServiceModifier and TypeClassDescriptionclass
AThreadPoolExecutor
that can additionally schedule commands to run after a given delay, or to execute periodically.Methods in java.util.concurrent that return ScheduledExecutorServiceModifier and TypeMethodDescriptionstatic 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 definedScheduledExecutorService
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 ScheduledExecutorServiceModifier and TypeMethodDescriptionstatic ScheduledExecutorService
Executors.unconfigurableScheduledExecutorService
(ScheduledExecutorService executor) Returns an object that delegates all definedScheduledExecutorService
methods to the given executor, but not any other methods that might otherwise be accessible using casts.