Package | Description |
---|---|
io.vertx.core |
= Vert.x Core Manual
:toc: left
At the heart of Vert.x is a set of Java APIs that we call *Vert.x Core*
https://github.com/eclipse/vert.x[Repository].
|
io.vertx.core.spi | |
io.vertx.reactivex.core |
Modifier and Type | Field and Description |
---|---|
protected DeploymentOptions |
Starter.deploymentOptions
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DeploymentOptions |
DeploymentOptions.setConfig(JsonObject config)
Set the JSON configuration that will be passed to the verticle(s) when it's deployed
|
DeploymentOptions |
DeploymentOptions.setExtraClasspath(List<String> extraClasspath)
Set any extra classpath to be used when deploying the verticle.
|
DeploymentOptions |
DeploymentOptions.setHa(boolean ha)
Set whether the verticle(s) will be deployed as HA.
|
DeploymentOptions |
DeploymentOptions.setInstances(int instances)
Set the number of instances that should be deployed.
|
DeploymentOptions |
DeploymentOptions.setIsolatedClasses(List<String> isolatedClasses)
Set the isolated class names.
|
DeploymentOptions |
DeploymentOptions.setIsolationGroup(String isolationGroup)
Set the isolation group that will be used when deploying the verticle(s)
|
DeploymentOptions |
DeploymentOptions.setMaxWorkerExecuteTime(long maxWorkerExecuteTime)
Sets the value of max worker execute time, in ns.
|
DeploymentOptions |
DeploymentOptions.setMultiThreaded(boolean multiThreaded)
Set whether the verticle(s) should be deployed as a multi-threaded worker verticle
|
DeploymentOptions |
DeploymentOptions.setWorker(boolean worker)
Set whether the verticle(s) should be deployed as a worker verticle
|
DeploymentOptions |
DeploymentOptions.setWorkerPoolName(String workerPoolName)
Set the worker pool name to use for this verticle.
|
DeploymentOptions |
DeploymentOptions.setWorkerPoolSize(int workerPoolSize)
Set the maximum number of worker threads to be used by the Vert.x instance.
|
Modifier and Type | Method and Description |
---|---|
void |
Launcher.beforeDeployingVerticle(DeploymentOptions deploymentOptions)
Hook for sub-classes of
Launcher before the verticle is deployed. |
protected void |
Starter.beforeDeployingVerticle(DeploymentOptions deploymentOptions)
Deprecated.
Hook for sub classes of
Starter before the verticle is deployed. |
void |
Vertx.deployVerticle(Class<? extends Verticle> verticleClass,
DeploymentOptions options)
Like
Vertx.deployVerticle(Verticle, DeploymentOptions) but Verticle instance is created by invoking the
default constructor of verticleClass . |
void |
Vertx.deployVerticle(Class<? extends Verticle> verticleClass,
DeploymentOptions options,
Handler<AsyncResult<String>> completionHandler)
Like
Vertx.deployVerticle(Verticle, DeploymentOptions, Handler) but Verticle instance is created by
invoking the default constructor of verticleClass . |
void |
Vertx.deployVerticle(String name,
DeploymentOptions options)
Like
Vertx.deployVerticle(Verticle) but DeploymentOptions are provided to configure the
deployment. |
void |
Vertx.deployVerticle(String name,
DeploymentOptions options,
Handler<AsyncResult<String>> completionHandler)
Like
Vertx.deployVerticle(String, Handler) but DeploymentOptions are provided to configure the
deployment. |
void |
Vertx.deployVerticle(Supplier<Verticle> verticleSupplier,
DeploymentOptions options)
Like
Vertx.deployVerticle(Verticle, DeploymentOptions) but Verticle instance is created by invoking the
verticleSupplier . |
void |
Vertx.deployVerticle(Supplier<Verticle> verticleSupplier,
DeploymentOptions options,
Handler<AsyncResult<String>> completionHandler)
Like
Vertx.deployVerticle(Verticle, DeploymentOptions, Handler) but Verticle instance is created by
invoking the verticleSupplier . |
void |
Vertx.deployVerticle(Verticle verticle,
DeploymentOptions options)
Like
Vertx.deployVerticle(Verticle) but DeploymentOptions are provided to configure the
deployment. |
void |
Vertx.deployVerticle(Verticle verticle,
DeploymentOptions options,
Handler<AsyncResult<String>> completionHandler)
Like
Vertx.deployVerticle(Verticle, Handler) but DeploymentOptions are provided to configure the
deployment. |
void |
Launcher.handleDeployFailed(Vertx vertx,
String mainVerticle,
DeploymentOptions deploymentOptions,
Throwable cause)
A deployment failure has been encountered.
|
Constructor and Description |
---|
DeploymentOptions(DeploymentOptions other)
Copy constructor
|
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 |
---|---|
static io.reactivex.Single<String> |
RxHelper.deployVerticle(Vertx vertx,
Verticle verticle,
DeploymentOptions options)
Like
RxHelper.deployVerticle(Vertx, Verticle) , but DeploymentOptions are provided to configure the
deployment. |
Copyright © 2018 Eclipse. All rights reserved.