| Package | Description |
|---|---|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RunnableScheduledFuture<V>
A
ScheduledFuture that is
Runnable.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ScheduledFuture |
ScheduledThreadPoolExecutor.schedule(Callable
|
<V> ScheduledFuture |
ScheduledExecutorService.schedule(Callable
Creates and executes a ScheduledFuture that becomes enabled after the given delay.
|
ScheduledFuture |
ScheduledThreadPoolExecutor.schedule(Runnable
|
ScheduledFuture |
ScheduledExecutorService.schedule(Runnable
Creates and executes a one-shot action that becomes enabled after the given delay.
|
ScheduledFuture |
ScheduledThreadPoolExecutor.scheduleAtFixedRate(Runnable
|
ScheduledFuture |
ScheduledExecutorService.scheduleAtFixedRate(Runnable
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.
|
ScheduledFuture |
ScheduledThreadPoolExecutor.scheduleWithFixedDelay(Runnable
|
ScheduledFuture |
ScheduledExecutorService.scheduleWithFixedDelay(Runnable
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.
|