| Modifier and Type | Method and Description |
|---|---|
static Future<JsonObject> |
ConfigRetriever.getConfigAsFuture(ConfigRetriever retriever)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeFuture
The composite future wraps a list of
futures, it is useful when several futures
needs to be coordinated. |
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<Future> |
Future.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
<U> Future<U> |
CompositeFuture.compose(java.util.function.Function<CompositeFuture,Future<U>> mapper)
Compose this future with a
mapper function. |
<U> Future<U> |
Future.compose(java.util.function.Function<T,Future<U>> mapper)
Compose this future with a
mapper function. |
static <T> Future<T> |
Future.failedFuture(String failureMessage)
Create a failed future with the specified failure message.
|
static <T> Future<T> |
Future.failedFuture(Throwable t)
Create a failed future with the specified failure cause.
|
Future<T> |
Promise.future() |
static <T> Future<T> |
Future.future()
Deprecated.
|
static <T> Future<T> |
Future.future(Handler<Promise<T>> handler)
Create a future that hasn't completed yet and that is passed to the
handler before it is returned. |
<U> Future<U> |
CompositeFuture.map(java.util.function.Function<CompositeFuture,U> mapper)
Apply a
mapper function on this future. |
<U> Future<U> |
Future.map(java.util.function.Function<T,U> mapper)
Apply a
mapper function on this future. |
<V> Future<V> |
Future.map(V value)
Map the result of a future to a specific
value. |
<V> Future<V> |
Future.mapEmpty()
Map the result of a future to
null. |
static <T> Future<T> |
Future.newInstance(Future arg) |
static <T> Future<T> |
Future.newInstance(Future arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Future<CompositeFuture> |
CompositeFuture.otherwise(CompositeFuture value)
Map the failure of a future to a specific
value. |
Future<CompositeFuture> |
CompositeFuture.otherwise(java.util.function.Function<Throwable,CompositeFuture> mapper)
Apply a
mapper function on this future. |
Future<T> |
Future.otherwise(java.util.function.Function<Throwable,T> mapper)
Apply a
mapper function on this future. |
Future<T> |
Future.otherwise(T value)
Map the failure of a future to a specific
value. |
Future<T> |
Future.otherwiseEmpty()
Map the failure of a future to
null. |
Future<CompositeFuture> |
CompositeFuture.otherwiseEmpty()
Map the failure of a future to
null. |
Future<CompositeFuture> |
CompositeFuture.recover(java.util.function.Function<Throwable,Future<CompositeFuture>> mapper)
Handles a failure of this Future by returning the result of another Future.
|
Future<T> |
Future.recover(java.util.function.Function<Throwable,Future<T>> mapper)
Handles a failure of this Future by returning the result of another Future.
|
Future<T> |
Future.setHandler(Handler<AsyncResult<T>> handler)
Set a handler for the result.
|
static <T> Future<T> |
Future.succeededFuture()
Create a succeeded future with a null result
|
static <T> Future<T> |
Future.succeededFuture(T result)
Created a succeeded future with the specified result.
|
| Modifier and Type | Method and Description |
|---|---|
static CompositeFuture |
CompositeFuture.all(List<Future> futures)
Like
CompositeFuture.all(io.vertx.reactivex.core.Future<T1>, io.vertx.reactivex.core.Future<T2>) but with a list of futures. |
static CompositeFuture |
CompositeFuture.any(List<Future> futures)
Like
CompositeFuture.any(io.vertx.reactivex.core.Future<T1>, io.vertx.reactivex.core.Future<T2>) but with a list of futures. |
<U> Future<U> |
CompositeFuture.compose(java.util.function.Function<CompositeFuture,Future<U>> mapper)
Compose this future with a
mapper function. |
<U> Future<U> |
Future.compose(java.util.function.Function<T,Future<U>> mapper)
Compose this future with a
mapper function. |
static CompositeFuture |
CompositeFuture.join(List<Future> futures)
Like
CompositeFuture.join(io.vertx.reactivex.core.Future<T1>, io.vertx.reactivex.core.Future<T2>) but with a list of futures. |
Future<CompositeFuture> |
CompositeFuture.recover(java.util.function.Function<Throwable,Future<CompositeFuture>> mapper)
Handles a failure of this Future by returning the result of another Future.
|
Future<T> |
Future.recover(java.util.function.Function<Throwable,Future<T>> mapper)
Handles a failure of this Future by returning the result of another Future.
|
| Modifier and Type | Method and Description |
|---|---|
HttpClient |
HttpClient.redirectHandler(java.util.function.Function<HttpClientResponse,Future<HttpClientRequest>> handler)
Set a redirect handler for the http client.
|
| Modifier and Type | Method and Description |
|---|---|
Future<Boolean> |
BaseBridgeEvent.future() |
| Modifier and Type | Method and Description |
|---|---|
Future<Boolean> |
BridgeEvent.future() |
| Modifier and Type | Method and Description |
|---|---|
Future<Boolean> |
BridgeEvent.future() |
Copyright © 2019 Eclipse. All rights reserved.