| Modifier and Type | Method and Description |
|---|---|
VertxCompletableFuture<Void> |
VertxCompletableFuture.acceptEither(CompletionStage<? extends T> other,
java.util.function.Consumer<? super T> action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.acceptEitherAsync(CompletionStage<? extends T> other,
java.util.function.Consumer<? super T> action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.acceptEitherAsync(CompletionStage<? extends T> other,
java.util.function.Consumer<? super T> action,
Executor executor) |
static VertxCompletableFuture<Void> |
VertxCompletableFuture.allOf(io.vertx.core.Context context,
CompletableFuture<?>... futures)
Returns a new CompletableFuture that is completed when all of the given CompletableFutures complete.
|
static VertxCompletableFuture<Void> |
VertxCompletableFuture.allOf(io.vertx.core.Vertx vertx,
CompletableFuture<?>... futures)
Returns a new CompletableFuture that is completed when all of the given CompletableFutures complete.
|
static VertxCompletableFuture<Object> |
VertxCompletableFuture.anyOf(io.vertx.core.Context context,
CompletableFuture<?>... futures)
Returns a new CompletableFuture that is completed when any of the given CompletableFutures complete, with the
same result.
|
static VertxCompletableFuture<Object> |
VertxCompletableFuture.anyOf(io.vertx.core.Vertx vertx,
CompletableFuture<?>... futures)
Returns a new CompletableFuture that is completed when any of the given CompletableFutures complete, with the
same result.
|
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.applyToEither(CompletionStage<? extends T> other,
java.util.function.Function<? super T,U> fn) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.applyToEitherAsync(CompletionStage<? extends T> other,
java.util.function.Function<? super T,U> fn) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.applyToEitherAsync(CompletionStage<? extends T> other,
java.util.function.Function<? super T,U> fn,
Executor executor) |
static <T> VertxCompletableFuture<T> |
VertxCompletableFuture.from(io.vertx.core.Context context,
CompletableFuture<T> future)
|
static <T> VertxCompletableFuture<T> |
VertxCompletableFuture.from(io.vertx.core.Context context,
io.vertx.core.Future<T> future)
|
static <T> VertxCompletableFuture<T> |
VertxCompletableFuture.from(io.vertx.core.Vertx vertx,
CompletableFuture<T> future)
|
static <T> VertxCompletableFuture<T> |
VertxCompletableFuture.from(io.vertx.core.Vertx vertx,
io.vertx.core.Future<T> future)
|
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.handle(java.util.function.BiFunction<? super T,Throwable,? extends U> fn) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.handleAsync(java.util.function.BiFunction<? super T,Throwable,? extends U> fn) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.handleAsync(java.util.function.BiFunction<? super T,Throwable,? extends U> fn,
Executor executor) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.runAfterBoth(CompletionStage<?> other,
Runnable action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.runAfterEither(CompletionStage<?> other,
Runnable action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
static VertxCompletableFuture<Void> |
VertxCompletableFuture.runAsync(io.vertx.core.Context context,
Runnable runnable)
Returns a new CompletableFuture that is asynchronously completed by a task running in the
current Vert.x
Context after it runs the given action. |
static VertxCompletableFuture<Void> |
VertxCompletableFuture.runAsync(io.vertx.core.Vertx vertx,
Runnable runnable)
Returns a new CompletableFuture that is asynchronously completed by a task running in the
current Vert.x
Context after it runs the given action. |
static VertxCompletableFuture<Void> |
VertxCompletableFuture.runBlockingAsync(io.vertx.core.Context context,
Runnable runnable)
Returns a new CompletableFuture that is asynchronously completed by a action running in the worker thread pool of
Vert.x
|
static VertxCompletableFuture<Void> |
VertxCompletableFuture.runBlockingAsync(io.vertx.core.Vertx vertx,
Runnable runnable)
Returns a new CompletableFuture that is asynchronously completed by a action running in the worker thread pool of
Vert.x
|
static <T> VertxCompletableFuture<T> |
VertxCompletableFuture.supplyAsync(io.vertx.core.Context context,
java.util.function.Supplier<T> supplier)
Returns a new CompletableFuture that is asynchronously completed by a task running in the current Vert.x
Context with the value obtained by calling the given Supplier. |
static <T> VertxCompletableFuture<T> |
VertxCompletableFuture.supplyAsync(io.vertx.core.Vertx vertx,
java.util.function.Supplier<T> supplier)
Returns a new CompletableFuture that is asynchronously completed by a task running in the current Vert.x
Context with the value obtained by calling the given Supplier. |
static <T> VertxCompletableFuture<T> |
VertxCompletableFuture.supplyBlockingAsync(io.vertx.core.Context context,
java.util.function.Supplier<T> supplier)
Returns a new CompletableFuture that is asynchronously completed by a task running in the worker thread pool of
Vert.x
|
static <T> VertxCompletableFuture<T> |
VertxCompletableFuture.supplyBlockingAsync(io.vertx.core.Vertx vertx,
java.util.function.Supplier<T> supplier)
Returns a new CompletableFuture that is asynchronously completed by a task running in the worker thread pool of
Vert.x
|
VertxCompletableFuture<Void> |
VertxCompletableFuture.thenAccept(java.util.function.Consumer<? super T> action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.thenAcceptAsync(java.util.function.Consumer<? super T> action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.thenAcceptAsync(java.util.function.Consumer<? super T> action,
Executor executor) |
<U> VertxCompletableFuture<Void> |
VertxCompletableFuture.thenAcceptBoth(CompletionStage<? extends U> other,
java.util.function.BiConsumer<? super T,? super U> action) |
<U> VertxCompletableFuture<Void> |
VertxCompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other,
java.util.function.BiConsumer<? super T,? super U> action) |
<U> VertxCompletableFuture<Void> |
VertxCompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other,
java.util.function.BiConsumer<? super T,? super U> action,
Executor executor) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.thenApply(java.util.function.Function<? super T,? extends U> fn) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.thenApplyAsync(java.util.function.Function<? super T,? extends U> fn) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.thenApplyAsync(java.util.function.Function<? super T,? extends U> fn,
Executor executor) |
<U,V> VertxCompletableFuture<V> |
VertxCompletableFuture.thenCombine(CompletionStage<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends V> fn) |
<U,V> VertxCompletableFuture<V> |
VertxCompletableFuture.thenCombineAsync(CompletionStage<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends V> fn) |
<U,V> VertxCompletableFuture<V> |
VertxCompletableFuture.thenCombineAsync(CompletionStage<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends V> fn,
Executor executor) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.thenCompose(java.util.function.Function<? super T,? extends CompletionStage<U>> fn) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.thenComposeAsync(java.util.function.Function<? super T,? extends CompletionStage<U>> fn) |
<U> VertxCompletableFuture<U> |
VertxCompletableFuture.thenComposeAsync(java.util.function.Function<? super T,? extends CompletionStage<U>> fn,
Executor executor) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.thenRun(Runnable action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.thenRunAsync(Runnable action) |
VertxCompletableFuture<Void> |
VertxCompletableFuture.thenRunAsync(Runnable action,
Executor executor) |
VertxCompletableFuture<T> |
VertxCompletableFuture.toCompletableFuture() |
VertxCompletableFuture<T> |
VertxCompletableFuture.whenComplete(java.util.function.BiConsumer<? super T,? super Throwable> action) |
VertxCompletableFuture<T> |
VertxCompletableFuture.whenCompleteAsync(java.util.function.BiConsumer<? super T,? super Throwable> action) |
VertxCompletableFuture<T> |
VertxCompletableFuture.whenCompleteAsync(java.util.function.BiConsumer<? super T,? super Throwable> action,
Executor executor) |
VertxCompletableFuture<T> |
VertxCompletableFuture.withContext()
Creates a new
VertxCompletableFuture using the current context. |
VertxCompletableFuture<T> |
VertxCompletableFuture.withContext(io.vertx.core.Context context)
Creates a new
VertxCompletableFuture using the given context. |
VertxCompletableFuture<T> |
VertxCompletableFuture.withContext(io.vertx.core.Vertx vertx)
Creates a new
VertxCompletableFuture using the current context or creates a new one. |
Copyright © 2016–2017 escoffier.me. All rights reserved.