| Package | Description |
|---|---|
| java.lang |
Provides classes that are fundamental to the design of the Java programming language.
|
| java.nio.channels |
Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
| Modifier and Type | Field and Description |
|---|---|
static Class |
Void.TYPE
The
Class object representing the pseudo-type corresponding to the keyword
void.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Future |
AsynchronousSocketChannel.connect(SocketAddress
Connects this channel.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <A> void |
AsynchronousSocketChannel.connect(SocketAddress
Connects this channel.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
RecursiveAction.getRawResult()
Always returns
null.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage |
CompletionStage.acceptEither(CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed with the corresponding result as argument to the supplied action.
|
CompletableFuture |
CompletableFuture.acceptEither(CompletionStage
|
CompletionStage |
CompletionStage.acceptEitherAsync(CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed using this stage's default asynchronous execution facility, with the corresponding result as argument to the supplied action.
|
CompletableFuture |
CompletableFuture.acceptEitherAsync(CompletionStage
|
CompletionStage |
CompletionStage.acceptEitherAsync(CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, is executed using the supplied executor, with the corresponding result as argument to the supplied function.
|
CompletableFuture |
CompletableFuture.acceptEitherAsync(CompletionStage
|
static CompletableFuture |
CompletableFuture.allOf(CompletableFuture
Returns a new CompletableFuture that is completed when all of the given CompletableFutures complete.
|
CompletionStage |
CompletionStage.runAfterBoth(CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, executes the given action.
|
CompletableFuture |
CompletableFuture.runAfterBoth(CompletionStage
|
CompletionStage |
CompletionStage.runAfterBothAsync(CompletionStage
Returns a new CompletionStage that, when this and the other given stage complete normally, executes the given action using this stage's default asynchronous execution facility.
|
CompletableFuture |
CompletableFuture.runAfterBothAsync(CompletionStage
|
CompletionStage |
CompletionStage.runAfterBothAsync(CompletionStage
Returns a new CompletionStage that, when this and the other given stage complete normally, executes the given action using the supplied executor See the
CompletionStage documentation for rules covering exceptional completion.
|
CompletableFuture |
CompletableFuture.runAfterBothAsync(CompletionStage
|
CompletionStage |
CompletionStage.runAfterEither(CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, executes the given action.
|
CompletableFuture |
CompletableFuture.runAfterEither(CompletionStage
|
CompletionStage |
CompletionStage.runAfterEitherAsync(CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, executes the given action using this stage's default asynchronous execution facility.
|
CompletableFuture |
CompletableFuture.runAfterEitherAsync(CompletionStage
|
CompletionStage |
CompletionStage.runAfterEitherAsync(CompletionStage
Returns a new CompletionStage that, when either this or the other given stage complete normally, executes the given action using supplied executor.
|
CompletableFuture |
CompletableFuture.runAfterEitherAsync(CompletionStage
|
static CompletableFuture |
CompletableFuture.runAsync(Runnable
Returns a new CompletableFuture that is asynchronously completed by a task running in the
ForkJoinPool after it runs the given action.
|
static CompletableFuture |
CompletableFuture.runAsync(Runnable
Returns a new CompletableFuture that is asynchronously completed by a task running in the given executor after it runs the given action.
|
CompletionStage |
CompletionStage.thenAccept(Consumer
Returns a new CompletionStage that, when this stage completes normally, is executed with this stage's result as the argument to the supplied action.
|
CompletableFuture |
CompletableFuture.thenAccept(Consumer
|
CompletionStage |
CompletionStage.thenAcceptAsync(Consumer
Returns a new CompletionStage that, when this stage completes normally, is executed using this stage's default asynchronous execution facility, with this stage's result as the argument to the supplied action.
|
CompletableFuture |
CompletableFuture.thenAcceptAsync(Consumer
|
CompletionStage |
CompletionStage.thenAcceptAsync(Consumer
Returns a new CompletionStage that, when this stage completes normally, is executed using the supplied Executor, with this stage's result as the argument to the supplied action.
|
CompletableFuture |
CompletableFuture.thenAcceptAsync(Consumer
|
<U> CompletionStage |
CompletionStage.thenAcceptBoth(CompletionStage
Returns a new CompletionStage that, when this and the other given stage both complete normally, is executed with the two results as arguments to the supplied action.
|
<U> CompletableFuture |
CompletableFuture.thenAcceptBoth(CompletionStage
|
<U> CompletionStage |
CompletionStage.thenAcceptBothAsync(CompletionStage
Returns a new CompletionStage that, when this and the other given stage complete normally, is executed using this stage's default asynchronous execution facility, with the two results as arguments to the supplied action.
|
<U> CompletableFuture |
CompletableFuture.thenAcceptBothAsync(CompletionStage
|
<U> CompletionStage |
CompletionStage.thenAcceptBothAsync(CompletionStage
Returns a new CompletionStage that, when this and the other given stage complete normally, is executed using the supplied executor, with the two results as arguments to the supplied function.
|
<U> CompletableFuture |
CompletableFuture.thenAcceptBothAsync(CompletionStage
|
CompletionStage |
CompletionStage.thenRun(Runnable
Returns a new CompletionStage that, when this stage completes normally, executes the given action.
|
CompletableFuture |
CompletableFuture.thenRun(Runnable
|
CompletionStage |
CompletionStage.thenRunAsync(Runnable
Returns a new CompletionStage that, when this stage completes normally, executes the given action using this stage's default asynchronous execution facility.
|
CompletableFuture |
CompletableFuture.thenRunAsync(Runnable
|
CompletionStage |
CompletionStage.thenRunAsync(Runnable
Returns a new CompletionStage that, when this stage completes normally, executes the given action using the supplied Executor.
|
CompletableFuture |
CompletableFuture.thenRunAsync(Runnable
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RecursiveAction.setRawResult(Void
Requires null completion value.
|
| Modifier and Type | Field and Description |
|---|---|
static SimpleType |
SimpleType.VOID
The
SimpleType instance describing values whose Java class name is
java.lang.Void.
|