Spec-Zone .ru
спецификации, руководства, описания, API
|
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> |
Void.TYPE
The
Class object representing the pseudo-type corresponding to
the keyword void . |
Modifier and Type | Method and Description |
---|---|
abstract Future<Void> |
AsynchronousSocketChannel.connect(SocketAddress remote)
Connects this channel.
|
Modifier and Type | Method and Description |
---|---|
abstract <A> void |
AsynchronousSocketChannel.connect(SocketAddress remote,
A attachment,
CompletionHandler<Void,? super A> handler)
Connects this channel.
|
Modifier and Type | Method and Description |
---|---|
Void |
RecursiveAction.getRawResult()
Always returns
null . |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
CompletableFuture.acceptEither(CompletableFuture<? extends T> other,
Consumer<? super T> block)
Returns a new CompletableFuture that is completed
when either this or the other given CompletableFuture completes,
after performing the given action with the result of either this
or the other CompletableFuture's result.
|
CompletableFuture<Void> |
CompletableFuture.acceptEitherAsync(CompletableFuture<? extends T> other,
Consumer<? super T> block)
Returns a new CompletableFuture that is asynchronously completed
when either this or the other given CompletableFuture completes,
after performing the given action with the result of either this
or the other CompletableFuture's result from a task running in
the
ForkJoinPool.commonPool() . |
CompletableFuture<Void> |
CompletableFuture.acceptEitherAsync(CompletableFuture<? extends T> other,
Consumer<? super T> block,
Executor executor)
Returns a new CompletableFuture that is asynchronously completed
when either this or the other given CompletableFuture completes,
after performing the given action with the result of either this
or the other CompletableFuture's result from a task running in
the given executor.
|
static CompletableFuture<Void> |
CompletableFuture.allOf(CompletableFuture<?>... cfs)
Returns a new CompletableFuture that is completed when all of
the given CompletableFutures complete.
|
CompletableFuture<Void> |
CompletableFuture.runAfterBoth(CompletableFuture<?> other,
Runnable action)
Returns a new CompletableFuture that is completed
when both this and the other given CompletableFuture complete,
after performing the given action.
|
CompletableFuture<Void> |
CompletableFuture.runAfterBothAsync(CompletableFuture<?> other,
Runnable action)
Returns a new CompletableFuture that is asynchronously completed
when both this and the other given CompletableFuture complete,
after performing the given action from a task running in the
ForkJoinPool.commonPool() . |
CompletableFuture<Void> |
CompletableFuture.runAfterBothAsync(CompletableFuture<?> other,
Runnable action,
Executor executor)
Returns a new CompletableFuture that is asynchronously completed
when both this and the other given CompletableFuture complete,
after performing the given action from a task running in the
given executor.
|
CompletableFuture<Void> |
CompletableFuture.runAfterEither(CompletableFuture<?> other,
Runnable action)
Returns a new CompletableFuture that is completed
when either this or the other given CompletableFuture completes,
after performing the given action.
|
CompletableFuture<Void> |
CompletableFuture.runAfterEitherAsync(CompletableFuture<?> other,
Runnable action)
Returns a new CompletableFuture that is asynchronously completed
when either this or the other given CompletableFuture completes,
after performing the given action from a task running in the
ForkJoinPool.commonPool() . |
CompletableFuture<Void> |
CompletableFuture.runAfterEitherAsync(CompletableFuture<?> other,
Runnable action,
Executor executor)
Returns a new CompletableFuture that is asynchronously completed
when either this or the other given CompletableFuture completes,
after performing the given action from a task running in the
given executor.
|
static CompletableFuture<Void> |
CompletableFuture.runAsync(Runnable runnable)
Returns a new CompletableFuture that is asynchronously completed
by a task running in the
ForkJoinPool.commonPool() after
it runs the given action. |
static CompletableFuture<Void> |
CompletableFuture.runAsync(Runnable runnable,
Executor executor)
Returns a new CompletableFuture that is asynchronously completed
by a task running in the given executor after it runs the given
action.
|
CompletableFuture<Void> |
CompletableFuture.thenAccept(Consumer<? super T> block)
Returns a new CompletableFuture that is completed
when this CompletableFuture completes, after performing the given
action with this CompletableFuture's result.
|
CompletableFuture<Void> |
CompletableFuture.thenAcceptAsync(Consumer<? super T> block)
Returns a new CompletableFuture that is asynchronously completed
when this CompletableFuture completes, after performing the given
action with this CompletableFuture's result from a task running
in the
ForkJoinPool.commonPool() . |
CompletableFuture<Void> |
CompletableFuture.thenAcceptAsync(Consumer<? super T> block,
Executor executor)
Returns a new CompletableFuture that is asynchronously completed
when this CompletableFuture completes, after performing the given
action with this CompletableFuture's result from a task running
in the given executor.
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBoth(CompletableFuture<? extends U> other,
BiConsumer<? super T,? super U> block)
Returns a new CompletableFuture that is completed
when both this and the other given CompletableFuture complete,
after performing the given action with the results of the two
CompletableFutures.
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletableFuture<? extends U> other,
BiConsumer<? super T,? super U> block)
Returns a new CompletableFuture that is asynchronously completed
when both this and the other given CompletableFuture complete,
after performing the given action with the results of the two
CompletableFutures from a task running in the
ForkJoinPool.commonPool() . |
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletableFuture<? extends U> other,
BiConsumer<? super T,? super U> block,
Executor executor)
Returns a new CompletableFuture that is asynchronously completed
when both this and the other given CompletableFuture complete,
after performing the given action with the results of the two
CompletableFutures from a task running in the given executor.
|
CompletableFuture<Void> |
CompletableFuture.thenRun(Runnable action)
Returns a new CompletableFuture that is completed
when this CompletableFuture completes, after performing the given
action.
|
CompletableFuture<Void> |
CompletableFuture.thenRunAsync(Runnable action)
Returns a new CompletableFuture that is asynchronously completed
when this CompletableFuture completes, after performing the given
action from a task running in the
ForkJoinPool.commonPool() . |
CompletableFuture<Void> |
CompletableFuture.thenRunAsync(Runnable action,
Executor executor)
Returns a new CompletableFuture that is asynchronously completed
when this CompletableFuture completes, after performing the given
action from a task running in the given executor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RecursiveAction.setRawResult(Void mustBeNull)
Requires null completion value.
|
Modifier and Type | Field and Description |
---|---|
static SimpleType<Void> |
SimpleType.VOID
The
SimpleType instance describing values whose
Java class name is java.lang.Void . |
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b92