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 |
Context.executeBlocking(Handler<Future<T>> blockingCodeHandler,
boolean ordered,
Handler<AsyncResult<T>> resultHandler)
Safely execute some blocking code.
|
<T> void |
Vertx.executeBlocking(Handler<Future<T>> blockingCodeHandler,
boolean ordered,
Handler<AsyncResult<T>> resultHandler)
Safely execute some blocking code.
|
<T> void |
Context.executeBlocking(Handler<Future<T>> blockingCodeHandler,
Handler<AsyncResult<T>> resultHandler)
Invoke
Context.executeBlocking(Handler, boolean, Handler) with order = true. |
<T> void |
Vertx.executeBlocking(Handler<Future<T>> blockingCodeHandler,
Handler<AsyncResult<T>> resultHandler)
Like
Vertx.executeBlocking(Handler, boolean, Handler) called with ordered = true. |
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)
Some verticle factories can "resolve" the identifer to another identifier which is then used to look up the real
verticle factory.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpServiceFactory.resolve(String identifier,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Future<String> resolution) |
Modifier and Type | Method and Description |
---|---|
void |
ShellVerticle.start(Future<Void> startFuture) |
Modifier and Type | Method and Description |
---|---|
void |
SyncVerticle.start(Future<Void> startFuture) |
void |
SyncVerticle.stop(Future<Void> stopFuture) |
Modifier and Type | Method and Description |
---|---|
void |
Completion.resolve(Future<T> future)
Completes the future upon completion, otherwise fails it.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BridgeEvent
Represents an event that occurs on the event bus bridge.
|
Modifier and Type | Method and Description |
---|---|
void |
MavenVerticleFactory.resolve(String identifier,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Future<String> resolution) |
Modifier and Type | Method and Description |
---|---|
static <T> Future |
Future.newInstance(Future arg) |
Constructor and Description |
---|
Future(Future delegate) |
Modifier and Type | Method and Description |
---|---|
void |
ServiceVerticleFactory.resolve(String identifier,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Future<String> resolution) |
Copyright © 2015. All rights reserved.