Modifier and Type | Method and Description |
---|---|
DeploymentOptions |
DeploymentOptions.setClassLoader(ClassLoader classLoader)
Set the classloader to use for deploying the Verticle.
|
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)
Deprecated.
|
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)
Deprecated.
|
DeploymentOptions |
DeploymentOptions.setIsolationGroup(String isolationGroup)
Deprecated.
|
DeploymentOptions |
DeploymentOptions.setMaxWorkerExecuteTime(long maxWorkerExecuteTime)
Sets the value of max worker execute time, in
maxWorkerExecuteTimeUnit . |
DeploymentOptions |
DeploymentOptions.setMaxWorkerExecuteTimeUnit(TimeUnit maxWorkerExecuteTimeUnit)
Set the time unit of
maxWorkerExecuteTime |
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. |
Future<String> |
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 . |
Future<String> |
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. |
Future<String> |
Vertx.deployVerticle(java.util.function.Supplier<Verticle> verticleSupplier,
DeploymentOptions options)
Like
Vertx.deployVerticle(Verticle, DeploymentOptions) but Verticle instance is created by invoking the
verticleSupplier . |
void |
Vertx.deployVerticle(java.util.function.Supplier<Verticle> verticleSupplier,
DeploymentOptions options,
Handler<AsyncResult<String>> completionHandler)
Like
Vertx.deployVerticle(Verticle, DeploymentOptions, Handler) but Verticle instance is created by
invoking the verticleSupplier . |
Future<String> |
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 |
---|---|
protected void |
HttpServiceFactory.createVerticle(String verticleName,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Promise<Callable<Verticle>> promise) |
Modifier and Type | Method and Description |
---|---|
protected DeploymentOptions |
VerticleDeploy.getDeploymentOptions() |
Modifier and Type | Method and Description |
---|---|
protected void |
MavenVerticleFactory.createVerticle(String verticleName,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Promise<Callable<Verticle>> promise) |
Modifier and Type | Method and Description |
---|---|
protected void |
ServiceVerticleFactory.createVerticle(String verticleName,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Promise<Callable<Verticle>> promise) |
Copyright © 2022 Eclipse. All rights reserved.