public class DefaultCluster extends Object implements Cluster
| Constructor and Description |
|---|
DefaultCluster(String address,
org.vertx.java.platform.Verticle verticle) |
DefaultCluster(String address,
org.vertx.java.core.Vertx vertx,
org.vertx.java.platform.Container container) |
DefaultCluster(org.vertx.java.platform.Verticle verticle) |
DefaultCluster(org.vertx.java.core.Vertx vertx,
org.vertx.java.platform.Container container) |
| 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.
|
boolean |
equals(Object other) |
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.
|
String |
toString() |
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.
|
public DefaultCluster(org.vertx.java.platform.Verticle verticle)
public DefaultCluster(org.vertx.java.core.Vertx vertx,
org.vertx.java.platform.Container container)
public DefaultCluster(String address, org.vertx.java.platform.Verticle verticle)
public DefaultCluster(String address, org.vertx.java.core.Vertx vertx, org.vertx.java.platform.Container container)
public String address()
Clusterpublic Cluster isDeployed(String deploymentID, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Boolean>> resultHandler)
ClusterisDeployed in interface ClusterdeploymentID - The deployment ID to check.resultHandler - An asynchronous handler to be called with a result.public Cluster deployModule(String deploymentID, String moduleName)
ClusterdeployModule in interface ClusterdeploymentID - The unique module deployment ID.moduleName - The module name.public Cluster deployModule(String deploymentID, String moduleName, org.vertx.java.core.json.JsonObject config)
ClusterdeployModule in interface ClusterdeploymentID - The unique module deployment ID.moduleName - The module name.config - The module configuration.public Cluster deployModule(String deploymentID, String moduleName, int instances)
ClusterdeployModule in interface ClusterdeploymentID - The unique module deployment ID.moduleName - The module name.instances - The number of instances to deploy.public Cluster deployModule(String deploymentID, String moduleName, org.vertx.java.core.json.JsonObject config, int instances)
ClusterdeployModule in interface ClusterdeploymentID - The unique module deployment ID.moduleName - The module name.config - The module configuration.instances - The number of instances to deploy.public Cluster deployModule(String deploymentID, String moduleName, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployModule in interface ClusterdeploymentID - The unique module deployment ID.moduleName - The module name.doneHandler - An asynchronous handler to be called once deployment is complete.public 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)
ClusterdeployModule in interface ClusterdeploymentID - The unique module deployment ID.moduleName - The module name.config - The module configuration.doneHandler - An asynchronous handler to be called once deployment is complete.public Cluster deployModule(String deploymentID, String moduleName, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployModule in interface ClusterdeploymentID - 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.public 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)
ClusterdeployModule in interface ClusterdeploymentID - 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.public 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)
ClusterdeployModule in interface ClusterdeploymentID - 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.public Cluster deployModuleTo(String deploymentID, String groupID, String moduleName)
ClusterdeployModuleTo in interface ClusterdeploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.public Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, org.vertx.java.core.json.JsonObject config)
ClusterdeployModuleTo in interface ClusterdeploymentID - The unique module deployment ID.groupID - The group to which to deploy the module.moduleName - The module name.config - The module configuration.public Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, int instances)
ClusterdeployModuleTo in interface ClusterdeploymentID - 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.public Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, org.vertx.java.core.json.JsonObject config, int instances)
ClusterdeployModuleTo in interface ClusterdeploymentID - 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.public Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployModuleTo in interface ClusterdeploymentID - 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.public 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)
ClusterdeployModuleTo in interface ClusterdeploymentID - 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.public Cluster deployModuleTo(String deploymentID, String groupID, String moduleName, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployModuleTo in interface ClusterdeploymentID - 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.public 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)
ClusterdeployModuleTo in interface ClusterdeploymentID - 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.public 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)
ClusterdeployModuleTo in interface ClusterdeploymentID - 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.public Cluster deployVerticle(String deploymentID, String main)
ClusterdeployVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.public Cluster deployVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config)
ClusterdeployVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.public Cluster deployVerticle(String deploymentID, String main, int instances)
ClusterdeployVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.instances - The number of instances to deploy.public Cluster deployVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, int instances)
ClusterdeployVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.instances - The number of instances to deploy.public Cluster deployVerticle(String deploymentID, String main, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.doneHandler - An asynchronous handler to be called once deployment is complete.public 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)
ClusterdeployVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.doneHandler - An asynchronous handler to be called once deployment is complete.public Cluster deployVerticle(String deploymentID, String main, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployVerticle in interface ClusterdeploymentID - 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.public 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)
ClusterdeployVerticle in interface ClusterdeploymentID - 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.public 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)
ClusterdeployVerticle in interface ClusterdeploymentID - 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.public Cluster deployVerticleTo(String deploymentID, String groupID, String main)
ClusterdeployVerticleTo in interface ClusterdeploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.public Cluster deployVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config)
ClusterdeployVerticleTo in interface ClusterdeploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.public Cluster deployVerticleTo(String deploymentID, String groupID, String main, int instances)
ClusterdeployVerticleTo in interface ClusterdeploymentID - 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.public Cluster deployVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, int instances)
ClusterdeployVerticleTo in interface ClusterdeploymentID - 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.public Cluster deployVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployVerticleTo in interface ClusterdeploymentID - 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.public 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)
ClusterdeployVerticleTo in interface ClusterdeploymentID - 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.public Cluster deployVerticleTo(String deploymentID, String groupID, String main, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployVerticleTo in interface ClusterdeploymentID - 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.public 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)
ClusterdeployVerticleTo in interface ClusterdeploymentID - 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.public 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)
ClusterdeployVerticleTo in interface ClusterdeploymentID - 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.public Cluster deployWorkerVerticle(String deploymentID, String main)
ClusterdeployWorkerVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.public Cluster deployWorkerVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config)
ClusterdeployWorkerVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.public Cluster deployWorkerVerticle(String deploymentID, String main, int instances)
ClusterdeployWorkerVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.instances - The number of instances to deploy.public Cluster deployWorkerVerticle(String deploymentID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean multiThreaded)
ClusterdeployWorkerVerticle in interface ClusterdeploymentID - 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.public Cluster deployWorkerVerticle(String deploymentID, String main, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployWorkerVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.doneHandler - An asynchronous handler to be called once deployment is complete.public 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)
ClusterdeployWorkerVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.main - The verticle main.config - The module configuration.doneHandler - An asynchronous handler to be called once deployment is complete.public Cluster deployWorkerVerticle(String deploymentID, String main, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployWorkerVerticle in interface ClusterdeploymentID - 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.public 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)
ClusterdeployWorkerVerticle in interface ClusterdeploymentID - 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.public 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)
ClusterdeployWorkerVerticle in interface ClusterdeploymentID - 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.public Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main)
ClusterdeployWorkerVerticleTo in interface ClusterdeploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.public Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config)
ClusterdeployWorkerVerticleTo in interface ClusterdeploymentID - The unique verticle deployment ID.groupID - The group to which to deploy the verticle.main - The verticle main.config - The module configuration.public Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, int instances)
ClusterdeployWorkerVerticleTo in interface ClusterdeploymentID - 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.public Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.json.JsonObject config, int instances, boolean multiThreaded)
ClusterdeployWorkerVerticleTo in interface ClusterdeploymentID - 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.public Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployWorkerVerticleTo in interface ClusterdeploymentID - 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.public 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)
ClusterdeployWorkerVerticleTo in interface ClusterdeploymentID - 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.public Cluster deployWorkerVerticleTo(String deploymentID, String groupID, String main, int instances, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<String>> doneHandler)
ClusterdeployWorkerVerticleTo in interface ClusterdeploymentID - 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.public 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)
ClusterdeployWorkerVerticleTo in interface ClusterdeploymentID - 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.public 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)
ClusterdeployWorkerVerticleTo in interface ClusterdeploymentID - 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.public Cluster undeployModule(String deploymentID)
ClusterundeployModule in interface ClusterdeploymentID - The unique module deployment ID.public Cluster undeployModule(String deploymentID, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Void>> doneHandler)
ClusterundeployModule in interface ClusterdeploymentID - The unique module deployment ID.doneHandler - An asynchronous handler to be called once the module is undeployed.public Cluster undeployVerticle(String deploymentID)
ClusterundeployVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.public Cluster undeployVerticle(String deploymentID, org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<Void>> doneHandler)
ClusterundeployVerticle in interface ClusterdeploymentID - The unique verticle deployment ID.doneHandler - An asynchronous handler to be called once the verticle is undeployed.public <K,V> AsyncMap<K,V> getMap(String name)
Clusterpublic <T> AsyncList<T> getList(String name)
Clusterpublic <T> AsyncSet<T> getSet(String name)
Clusterpublic <T> AsyncQueue<T> getQueue(String name)
Clusterpublic AsyncCounter getCounter(String name)
ClustergetCounter in interface Clustername - The counter name.Copyright © 2013-2014. All Rights Reserved.