Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.spi | |
io.vertx.ext.unit | |
io.vertx.rxjava.core |
Modifier and Type | Method and Description |
---|---|
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.
|
static <T> Future<T> |
Future.future()
Create a future that hasn't completed yet
|
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 |
---|---|
void |
AbstractVerticle.start(Future<Void> startFuture)
Start the verticle.
|
void |
Verticle.start(Future<Void> startFuture)
Start the verticle instance.
|
void |
AbstractVerticle.stop(Future<Void> stopFuture)
Stop the verticle.
|
void |
Verticle.stop(Future<Void> stopFuture)
Stop the verticle instance.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
Vertx.executeBlocking(Handler<Future<T>> blockingCodeHandler,
Handler<AsyncResult<T>> resultHandler)
Safely execute some blocking code.
|
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
FutureFactory.completedFuture() |
<T> Future<T> |
FutureFactory.completedFuture(String failureMessage,
boolean failed) |
<T> Future<T> |
FutureFactory.completedFuture(T result) |
<T> Future<T> |
FutureFactory.completedFuture(Throwable t) |
<T> Future<T> |
FutureFactory.future() |
Modifier and Type | Method and Description |
---|---|
default void |
VerticleFactory.resolve(String identifier,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Future<String> resolution) |
Modifier and Type | Method and Description |
---|---|
void |
TestCompletion.resolve(Future future)
Completes the future when all test cases of the test suite passes, otherwise fails it.
|
Modifier and Type | Method and Description |
---|---|
static <T> Future<T> |
Future.newInstance(Future arg) |
Constructor and Description |
---|
Future(Future delegate) |
Copyright © 2015. All Rights Reserved.