| Modifier and Type | Method and Description |
|---|---|
org.vertx.java.core.json.JsonObject |
config()
Get the verticle configuration
|
void |
deployModule(java.lang.String moduleName)
Deploy a module programmatically
|
void |
deployModule(java.lang.String moduleName,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
Deploy a module programmatically
|
void |
deployModule(java.lang.String moduleName,
int instances)
Deploy a module programmatically
|
void |
deployModule(java.lang.String moduleName,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
Deploy a module programmatically
|
void |
deployModule(java.lang.String moduleName,
org.vertx.java.core.json.JsonObject config)
Deploy a module programmatically
|
void |
deployModule(java.lang.String moduleName,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
Deploy a module programmatically
|
void |
deployModule(java.lang.String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances)
Deploy a module programmatically
|
void |
deployModule(java.lang.String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
Deploy a module programmatically
|
void |
deployVerticle(java.lang.String main)
Deploy a verticle programmatically
|
void |
deployVerticle(java.lang.String main,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
Deploy a verticle programmatically
|
void |
deployVerticle(java.lang.String main,
int instances)
Deploy a verticle programmatically
|
void |
deployVerticle(java.lang.String main,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
Deploy a verticle programmatically
|
void |
deployVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config)
Deploy a verticle programmatically
|
void |
deployVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
Deploy a verticle programmatically
|
void |
deployVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances)
Deploy a verticle programmatically
|
void |
deployVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
Deploy a verticle programmatically
|
void |
deployWorkerVerticle(java.lang.String main)
Deploy a worker verticle programmatically
|
void |
deployWorkerVerticle(java.lang.String main,
int instances)
Deploy a worker verticle programmatically
|
void |
deployWorkerVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config)
Deploy a worker verticle programmatically
|
void |
deployWorkerVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances)
Deploy a worker verticle programmatically
|
void |
deployWorkerVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded)
Deploy a worker verticle programmatically
|
void |
deployWorkerVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
Deploy a worker verticle programmatically
|
java.util.Map<java.lang.String,java.lang.String> |
env()
Get an umodifiable map of system, environment variables.
|
void |
exit()
Cause the container to exit
|
org.vertx.java.core.logging.Logger |
logger()
Get the verticle logger
|
void |
undeployModule(java.lang.String deploymentID)
Undeploy a module
|
void |
undeployModule(java.lang.String deploymentID,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.Void>> doneHandler)
Undeploy a module
|
void |
undeployVerticle(java.lang.String deploymentID)
Undeploy a verticle
|
void |
undeployVerticle(java.lang.String deploymentID,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.Void>> doneHandler)
Undeploy a module
|
public void deployWorkerVerticle(java.lang.String main)
ContainerdeployWorkerVerticle in interface Containermain - The main of the verticlepublic void deployWorkerVerticle(java.lang.String main,
int instances)
ContainerdeployWorkerVerticle in interface Containermain - The main of the verticleinstances - The number of instances to deploy (defaults to 1)public void deployWorkerVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config)
ContainerdeployWorkerVerticle in interface Containermain - The main of the verticleconfig - JSON config to provide to the verticlepublic void deployWorkerVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances)
ContainerdeployWorkerVerticle in interface Containermain - The main of the verticleconfig - JSON config to provide to the verticleinstances - The number of instances to deploy (defaults to 1)public void deployWorkerVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded)
ContainerdeployWorkerVerticle in interface Containermain - The main of the verticleconfig - JSON config to provide to the verticleinstances - The number of instances to deploy (defaults to 1)multiThreaded - if true then the verticle will be deployed as a multi-threaded workerpublic void deployWorkerVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
ContainerdeployWorkerVerticle in interface Containermain - The main of the verticleconfig - JSON config to provide to the verticleinstances - The number of instances to deploy (defaults to 1)doneHandler - The handler will be called passing in the unique deployment id when deployment is completepublic void deployModule(java.lang.String moduleName)
ContainerdeployModule in interface ContainermoduleName - The main of the module to deploypublic void deployModule(java.lang.String moduleName,
int instances)
ContainerdeployModule in interface ContainermoduleName - The main of the module to deployinstances - The number of instances to deploy (defaults to 1)public void deployModule(java.lang.String moduleName,
org.vertx.java.core.json.JsonObject config)
ContainerdeployModule in interface ContainermoduleName - The main of the module to deployconfig - JSON config to provide to the modulepublic void deployModule(java.lang.String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances)
ContainerdeployModule in interface ContainermoduleName - The main of the module to deployconfig - JSON config to provide to the moduleinstances - The number of instances to deploy (defaults to 1)public void deployModule(java.lang.String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
ContainerdeployModule in interface ContainermoduleName - The main of the module to deployconfig - JSON config to provide to the moduleinstances - The number of instances to deploy (defaults to 1)doneHandler - The handler will be called passing in the unique deployment id when deployment is completepublic void deployModule(java.lang.String moduleName,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
ContainerdeployModule in interface ContainermoduleName - The main of the module to deploydoneHandler - The handler will be called passing in the unique deployment id when deployment is completepublic void deployModule(java.lang.String moduleName,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
ContainerdeployModule in interface ContainermoduleName - The main of the module to deployconfig - JSON config to provide to the moduledoneHandler - The handler will be called passing in the unique deployment id when deployment is completepublic void deployModule(java.lang.String moduleName,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
ContainerdeployModule in interface ContainermoduleName - The main of the module to deploy
* @param instances The number of instances to deploy (defaults to 1)doneHandler - The handler will be called passing in the unique deployment id when deployment is completepublic void deployVerticle(java.lang.String main)
ContainerdeployVerticle in interface Containermain - The main of the verticlepublic void deployVerticle(java.lang.String main,
int instances)
ContainerdeployVerticle in interface Containermain - The main of the verticleinstances - The number of instances to deploy (defaults to 1)public void deployVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config)
ContainerdeployVerticle in interface Containermain - The main of the verticleconfig - JSON config to provide to the verticlepublic void deployVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances)
ContainerdeployVerticle in interface Containermain - The main of the verticleconfig - JSON config to provide to the verticleinstances - The number of instances to deploy (defaults to 1)public void deployVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
ContainerdeployVerticle in interface Containermain - The main of the verticleconfig - JSON config to provide to the verticleinstances - The number of instances to deploy (defaults to 1)doneHandler - The handler will be called passing in the unique deployment id when deployment is completepublic void deployVerticle(java.lang.String main,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
ContainerdeployVerticle in interface Containermain - The main of the verticledoneHandler - The handler will be called passing in the unique deployment id when deployment is completepublic void deployVerticle(java.lang.String main,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
ContainerdeployVerticle in interface Containermain - The main of the verticleconfig - JSON config to provide to the verticledoneHandler - The handler will be called passing in the unique deployment id when deployment is completepublic void deployVerticle(java.lang.String main,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.String>> doneHandler)
ContainerdeployVerticle in interface Containermain - The main of the verticledoneHandler - The handler will be called passing in the unique deployment id when deployment is completepublic void undeployVerticle(java.lang.String deploymentID)
ContainerundeployVerticle in interface ContainerdeploymentID - The deployment IDpublic void undeployVerticle(java.lang.String deploymentID,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.Void>> doneHandler)
ContainerundeployVerticle in interface ContainerdeploymentID - The deployment IDdoneHandler - The handler will be called when undeployment is completepublic void undeployModule(java.lang.String deploymentID)
ContainerundeployModule in interface ContainerdeploymentID - The deployment IDpublic void undeployModule(java.lang.String deploymentID,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.Void>> doneHandler)
ContainerundeployModule in interface ContainerdeploymentID - The deployment IDdoneHandler - The handler will be called when undeployment is completepublic org.vertx.java.core.json.JsonObject config()
Containerpublic org.vertx.java.core.logging.Logger logger()
Containerpublic void exit()
Container