public interface Cluster
In opposition to core Vert.x Container behavior, Vertigo cluster deployments
support absolute deployment identifiers. This allows deployments to be referenced
through faults. Additionally, clusters must follow the Vert.x HA grouping method,
allowing modules and verticles to be deployed remotely to HA groups.
Vertigo clusters also expose asynchronous data structures for synchronization. See cluster implementations for specifics regarding how data structures are implemented.
| Modifier and Type | Method and Description |
|---|---|
String |
address()
Returns the cluster address.
|
Cluster |
deployModule(String deploymentID,
String moduleName)
Deploys a module to the cluster.
|
Cluster |
deployModule(String deploymentID,
String moduleName,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to the cluster.
|
Cluster |
deployModule(String deploymentID,
String moduleName,
int instances)
Deploys a module to the cluster.
|
Cluster |
deployModule(String deploymentID,
String moduleName,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to the cluster.
|
Cluster |
deployModule(String deploymentID,
String moduleName,
org.vertx.java.core.json.JsonObject config)
Deploys a module to the cluster.
|
Cluster |
deployModule(String deploymentID,
String moduleName,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to the cluster.
|
Cluster |
deployModule(String deploymentID,
String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances)
Deploys a module to the cluster.
|
Cluster |
deployModule(String deploymentID,
String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean ha,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to the cluster.
|
Cluster |
deployModule(String deploymentID,
String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to the cluster.
|
Cluster |
deployModuleTo(String deploymentID,
String groupID,
String moduleName)
Deploys a module to a specific HA group in the cluster.
|
Cluster |
deployModuleTo(String deploymentID,
String groupID,
String moduleName,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to a specific HA group in the cluster.
|
Cluster |
deployModuleTo(String deploymentID,
String groupID,
String moduleName,
int instances)
Deploys a module to a specific HA group in the cluster.
|
Cluster |
deployModuleTo(String deploymentID,
String groupID,
String moduleName,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to a specific HA group in the cluster.
|
Cluster |
deployModuleTo(String deploymentID,
String groupID,
String moduleName,
org.vertx.java.core.json.JsonObject config)
Deploys a module to a specific HA group in the cluster.
|
Cluster |
deployModuleTo(String deploymentID,
String groupID,
String moduleName,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to a specific HA group in the cluster.
|
Cluster |
deployModuleTo(String deploymentID,
String groupID,
String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances)
Deploys a module to a specific HA group in the cluster.
|
Cluster |
deployModuleTo(String deploymentID,
String groupID,
String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean ha,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to a specific HA group in the cluster.
|
Cluster |
deployModuleTo(String deploymentID,
String groupID,
String moduleName,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a module to a specific HA group in the cluster.
|
Cluster |
deployVerticle(String deploymentID,
String main)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticle(String deploymentID,
String main,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticle(String deploymentID,
String main,
int instances)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticle(String deploymentID,
String main,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean ha,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticleTo(String deploymentID,
String groupID,
String main)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticleTo(String deploymentID,
String groupID,
String main,
int instances)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticleTo(String deploymentID,
String groupID,
String main,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean ha,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a verticle to the cluster.
|
Cluster |
deployWorkerVerticle(String deploymentID,
String main)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticle(String deploymentID,
String main,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticle(String deploymentID,
String main,
int instances)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticle(String deploymentID,
String main,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded,
boolean ha,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticle(String deploymentID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticleTo(String deploymentID,
String groupID,
String main)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticleTo(String deploymentID,
String groupID,
String main,
int instances)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticleTo(String deploymentID,
String groupID,
String main,
int instances,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded,
boolean ha,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
Cluster |
deployWorkerVerticleTo(String deploymentID,
String groupID,
String main,
org.vertx.java.core.json.JsonObject config,
int instances,
boolean multiThreaded,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
Deploys a worker verticle to the cluster.
|
AsyncCounter |
getCounter(String name)
Returns an asynchronous cluster-wide counter.
|
<T> AsyncList<T> |
getList(String name)
Returns an asynchronous cluster-wide replicated list.
|
<K,V> AsyncMap<K,V> |
getMap(String name)
Returns an asynchronous cluster-wide replicated map.
|
<T> AsyncQueue<T> |
getQueue(String name)
Returns an asynchronous cluster-wide replicated queue.
|
<T> AsyncSet<T> |
getSet(String name)
Returns an asynchronous cluster-wide replicated set.
|
Cluster |
isDeployed(String deploymentID,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Boolean>> resultHandler)
Checks whether a module or verticle is deployed in the cluster.
|
Cluster |
undeployModule(String deploymentID)
Undeploys a module from the cluster.
|
Cluster |
undeployModule(String deploymentID,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Void>> doneHandler)
Undeploys a module from the cluster.
|
Cluster |
undeployVerticle(String deploymentID)
Undeploys a verticle from the cluster.
|
Cluster |
undeployVerticle(String deploymentID,
org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Void>> doneHandler)
Undeploys a verticle from the cluster.
|
String address()
Cluster isDeployed(String deploymentID, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Boolean>> resultHandler)
deploymentID - The deployment ID to check.resultHandler - An asynchronous handler to be called with a result.Cluster deployModule(String deploymentID, String moduleName)
deploymentID - The unique module deployment ID.moduleName - The module name.Cluster deployModule(String deploymentID, String moduleName, org.vertx.java.core.json.JsonObject config)
deploymentID - The unique module deployment ID.moduleName - The module name.config - The module configuration.Cluster deployModule(String deploymentID, String moduleName, int instances)
deploymentID - The unique module deployment ID.moduleName - The module name.instances - The number of instances to deploy.Cluster deployModule(String deploymentID, String moduleName, org.vertx.java.core.json.JsonObject config, int instances)
deploymentID - The unique module deployment ID.moduleName - The module name.config - The module configuration.instances - The number of instances to deploy.Cluster deployModule(String deploymentID, String moduleName, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.moduleName - The module name.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployModule(String deploymentID, String moduleName, org.vertx.java.core.json.JsonObject config, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.moduleName - The module name.config - The module configuration.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployModule(String deploymentID, String moduleName, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.moduleName - The module name.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployModule(String deploymentID, String moduleName, org.vertx.java.core.json.JsonObject config, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.moduleName - The module name.config - The module configuration.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployModule(String deploymentID, String moduleName, org.vertx.java.core.json.JsonObject config, int instances, boolean ha, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.moduleName - The module name.config - The module configuration.instances - The number of instances to deploy.ha - Indicates whether to deploy the module with HA.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployModuleTo(String deploymentID, String groupID, String moduleName)
deploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, org.vertx.java.core.json.JsonObject config)
deploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.config - The module configuration.Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, int instances)
deploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.instances - The number of instances to deploy.Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, org.vertx.java.core.json.JsonObject config, int instances)
deploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.config - The module configuration.instances - The number of instances to deploy.Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, org.vertx.java.core.json.JsonObject config, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.config - The module configuration.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, org.vertx.java.core.json.JsonObject config, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.config - The module configuration.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, org.vertx.java.core.json.JsonObject config, int instances, boolean ha, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.config - The module configuration.instances - The number of instances to deploy.ha - Indicates whether to deploy the module with HA.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticle(String deploymentID, String main)
deploymentID - The unique verticle deployment ID.main - The verticle main.Cluster deployVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.Cluster deployVerticle(String deploymentID, String main, int instances)
deploymentID - The unique verticle deployment ID.main - The verticle main.instances - The number of instances to deploy.Cluster deployVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, int instances)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.Cluster deployVerticle(String deploymentID, String main, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticle(String deploymentID, String main, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean ha, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.ha - Indicates whether to deploy the verticle with HA.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticleTo(String deploymentID, String groupID, String main)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.Cluster deployVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.Cluster deployVerticleTo(String deploymentID, String groupID, String main, int instances)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.instances - The number of instances to deploy.Cluster deployVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, int instances)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.Cluster deployVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticleTo(String deploymentID, String groupID, String main, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean ha, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.ha - Indicates whether to deploy the verticle with HA.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticle(String deploymentID, String main)
deploymentID - The unique verticle deployment ID.main - The verticle main.Cluster deployWorkerVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.Cluster deployWorkerVerticle(String deploymentID, String main, int instances)
deploymentID - The unique verticle deployment ID.main - The verticle main.instances - The number of instances to deploy.Cluster deployWorkerVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean multiThreaded)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.multiThreaded - Indicates whether the verticle is multi-threaded.Cluster deployWorkerVerticle(String deploymentID, String main, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticle(String deploymentID, String main, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean multiThreaded, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.multiThreaded - Indicates whether the verticle is multi-threaded.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean multiThreaded, boolean ha, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.multiThreaded - Indicates whether the verticle is multi-threaded.ha - Indicates whether to deploy the verticle with HA.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, int instances)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.instances - The number of instances to deploy.Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean multiThreaded)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.multiThreaded - Indicates whether the verticle is multi-threaded.Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.instances - The number of instances to deploy.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean multiThreaded, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.multiThreaded - Indicates whether the verticle is multi-threaded.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean multiThreaded, boolean ha, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
deploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.multiThreaded - Indicates whether the verticle is multi-threaded.ha - Indicates whether to deploy the verticle with HA.doneHandler - An asynchronous handler to be called once deployment is complete.Cluster undeployModule(String deploymentID)
deploymentID - The unique module deployment ID.Cluster undeployModule(String deploymentID, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Void>> doneHandler)
deploymentID - The unique module deployment ID.doneHandler - An asynchronous handler to be called once the module is undeployed.Cluster undeployVerticle(String deploymentID)
deploymentID - The unique verticle deployment ID.Cluster undeployVerticle(String deploymentID, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Void>> doneHandler)
deploymentID - The unique verticle deployment ID.doneHandler - An asynchronous handler to be called once the verticle is undeployed.<K,V> AsyncMap<K,V> getMap(String name)
name - The map name.<T> AsyncList<T> getList(String name)
name - The list name.<T> AsyncSet<T> getSet(String name)
name - The set name.<T> AsyncQueue<T> getQueue(String name)
name - The queue name.AsyncCounter getCounter(String name)
name - The counter name.Copyright © 2013-2014. All Rights Reserved.