CompletableFuture<Void> |
CompletableFuture.acceptEither(CompletionStage<? extends T> other, Consumer<? super T> action) |
|
CompletableFuture<Void> |
CompletableFuture.acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action) |
|
CompletableFuture<Void> |
CompletableFuture.acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action, Executor executor) |
|
static CompletableFuture<Void> |
CompletableFuture.allOf(CompletableFuture<?>... cfs) |
指定されたすべてのCompletableFutureが完了したときに完了する新しいCompletableFutureを返します。
|
static CompletableFuture<Object> |
CompletableFuture.anyOf(CompletableFuture<?>... cfs) |
指定されたいずれかのCompletableFutureが完了したときに同じ結果で完了する新しいCompletableFutureを返します。
|
<U> CompletableFuture<U> |
CompletableFuture.applyToEither(CompletionStage<? extends T> other, Function<? super T,U> fn) |
|
<U> CompletableFuture<U> |
CompletableFuture.applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn) |
|
<U> CompletableFuture<U> |
CompletableFuture.applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn, Executor executor) |
|
CompletableFuture<T> |
CompletableFuture.completeAsync(Supplier<? extends T> supplier) |
このCompletableFutureを、デフォルトExecutorを使用して非同期タスクから呼び出された、指定されたSupplier関数の結果で完了させます。
|
CompletableFuture<T> |
CompletableFuture.completeAsync(Supplier<? extends T> supplier, Executor executor) |
指定されたExecutorを使用して非同期タスクから呼び出された、指定されたSupplier関数の結果でこのCompletableFutureを完了します。
|
static <U> CompletableFuture<U> |
CompletableFuture.completedFuture(U value) |
指定された値ですでに完了している新しいCompletableFutureを返します。
|
CompletableFuture<T> |
CompletableFuture.completeOnTimeout(T value, long timeout, TimeUnit unit) |
指定されたタイムアウト前に完了していない場合は、このCompletableFutureを指定された値で完了します。
|
CompletableFuture<Void> |
SubmissionPublisher.consume(Consumer<? super T> consumer) |
指定したコンシューマ関数を使用して、公開されたすべてのアイテムを処理します。
|
CompletableFuture<T> |
CompletableFuture.copy() |
正常に完了したときにこのCompletableFutureと同じ値で正常に完了する新しいCompletableFutureを返します。
|
CompletableFuture<T> |
CompletableFuture.exceptionally(Function<Throwable,? extends T> fn) |
このCompletableFutureが完了したときに完了する新しいCompletableFutureを返します。例外で完了した場合は、このCompletableFutureの完了をトリガーした例外の指定された関数の結果を含みます。このCompletableFutureが正常に完了した場合は、返されるCompletableFutureも同じ値で正常に完了します。
|
static <U> CompletableFuture<U> |
CompletableFuture.failedFuture(Throwable ex) |
指定された例外を使ってすでに例外的に完了している新しいCompletableFutureを返します。
|
<U> CompletableFuture<U> |
CompletableFuture.handle(BiFunction<? super T,Throwable,? extends U> fn) |
|
<U> CompletableFuture<U> |
CompletableFuture.handleAsync(BiFunction<? super T,Throwable,? extends U> fn) |
|
<U> CompletableFuture<U> |
CompletableFuture.handleAsync(BiFunction<? super T,Throwable,? extends U> fn, Executor executor) |
|
<U> CompletableFuture<U> |
CompletableFuture.newIncompleteFuture() |
CompletionStageメソッドによって返される型の新しいCompletableFutureを返します。
|
CompletableFuture<T> |
CompletableFuture.orTimeout(long timeout, TimeUnit unit) |
|
CompletableFuture<Void> |
CompletableFuture.runAfterBoth(CompletionStage<?> other, Runnable action) |
|
CompletableFuture<Void> |
CompletableFuture.runAfterBothAsync(CompletionStage<?> other, Runnable action) |
|
CompletableFuture<Void> |
CompletableFuture.runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor) |
|
CompletableFuture<Void> |
CompletableFuture.runAfterEither(CompletionStage<?> other, Runnable action) |
|
CompletableFuture<Void> |
CompletableFuture.runAfterEitherAsync(CompletionStage<?> other, Runnable action) |
|
CompletableFuture<Void> |
CompletableFuture.runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor) |
|
static CompletableFuture<Void> |
CompletableFuture.runAsync(Runnable runnable) |
|
static CompletableFuture<Void> |
CompletableFuture.runAsync(Runnable runnable, Executor executor) |
指定されたエグゼキュータで実行されているタスクが指定されたアクションの実行後に非同期に完了する新しいCompletableFutureを返します。
|
static <U> CompletableFuture<U> |
CompletableFuture.supplyAsync(Supplier<U> supplier) |
|
static <U> CompletableFuture<U> |
CompletableFuture.supplyAsync(Supplier<U> supplier, Executor executor) |
指定されたエグゼキュータで実行されているタスクが指定されたサプライヤを呼び出して取得した値を使用して非同期的に完了する新しいCompletableFutureを返します。
|
CompletableFuture<Void> |
CompletableFuture.thenAccept(Consumer<? super T> action) |
|
CompletableFuture<Void> |
CompletableFuture.thenAcceptAsync(Consumer<? super T> action) |
|
CompletableFuture<Void> |
CompletableFuture.thenAcceptAsync(Consumer<? super T> action, Executor executor) |
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action) |
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action) |
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Executor executor) |
|
<U> CompletableFuture<U> |
CompletableFuture.thenApply(Function<? super T,? extends U> fn) |
|
<U> CompletableFuture<U> |
CompletableFuture.thenApplyAsync(Function<? super T,? extends U> fn) |
|
<U> CompletableFuture<U> |
CompletableFuture.thenApplyAsync(Function<? super T,? extends U> fn, Executor executor) |
|
<U,V> CompletableFuture<V> |
CompletableFuture.thenCombine(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn) |
|
<U,V> CompletableFuture<V> |
CompletableFuture.thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn) |
|
<U,V> CompletableFuture<V> |
CompletableFuture.thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor) |
|
<U> CompletableFuture<U> |
CompletableFuture.thenCompose(Function<? super T,? extends CompletionStage<U>> fn) |
|
<U> CompletableFuture<U> |
CompletableFuture.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn) |
|
<U> CompletableFuture<U> |
CompletableFuture.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, Executor executor) |
|
CompletableFuture<Void> |
CompletableFuture.thenRun(Runnable action) |
|
CompletableFuture<Void> |
CompletableFuture.thenRunAsync(Runnable action) |
|
CompletableFuture<Void> |
CompletableFuture.thenRunAsync(Runnable action, Executor executor) |
|
CompletableFuture<T> |
CompletableFuture.toCompletableFuture() |
このCompletableFutureを返します。
|
CompletableFuture<T> |
CompletionStage.toCompletableFuture() |
|
CompletableFuture<T> |
CompletableFuture.whenComplete(BiConsumer<? super T,? super Throwable> action) |
|
CompletableFuture<T> |
CompletableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action) |
|
CompletableFuture<T> |
CompletableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor) |
|