- schedule(Runnable, long, TimeUnit) - Method in interface java.util.concurrent.ScheduledExecutorService
-
Creates and executes a one-shot action that becomes enabled after the given delay.
- schedule(Callable<V>, long, TimeUnit) - Method in interface java.util.concurrent.ScheduledExecutorService
-
Creates and executes a ScheduledFuture that becomes enabled after the given delay.
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in interface java.util.concurrent.ScheduledExecutorService
-
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently
with the given period; that is executions will commence after initialDelay then
initialDelay+period, then initialDelay + 2 * period, and so on.
- ScheduledExecutorService - Interface in java.util.concurrent
-
An
ExecutorService
that can schedule commands to run after a given delay, or to execute periodically.
- ScheduledFuture<V> - Interface in java.util.concurrent
-
A delayed result-bearing action that can be cancelled.
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in interface java.util.concurrent.ScheduledExecutorService
-
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently
with the given delay between the termination of one execution and the commencement of the next.
- shutdown() - Method in interface java.util.concurrent.ExecutorService
-
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be
accepted.
- shutdownNow() - Method in interface java.util.concurrent.ExecutorService
-
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the
tasks that were awaiting execution.
- sleep(long) - Method in enum java.util.concurrent.TimeUnit
-
Performs a Thread.sleep
using this time unit.
- submit(Callable<T>) - Method in interface java.util.concurrent.ExecutorService
-
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
- submit(Runnable, T) - Method in interface java.util.concurrent.ExecutorService
-
Submits a Runnable task for execution and returns a Future representing that task.
- submit(Runnable) - Method in interface java.util.concurrent.ExecutorService
-
Submits a Runnable task for execution and returns a Future representing that task.