| 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 | Class and Description |
|---|---|
class |
FutureTask<V>
A cancellable asynchronous computation.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> RunnableFuture<T> |
ForkJoinPool.newTaskFor(Callable<T> callable) |
protected <T> RunnableFuture<T> |
AbstractExecutorService.newTaskFor(Callable<T> callable)
Returns a RunnableFuture for the given callable task.
|
protected <T> RunnableFuture<T> |
ForkJoinPool.newTaskFor(Runnable runnable,
T value) |
protected <T> RunnableFuture<T> |
AbstractExecutorService.newTaskFor(Runnable runnable,
T value)
Returns a RunnableFuture for the given runnable and default
value.
|
Copyright © 2021 API Design. All Rights Reserved.