Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.englishtown.vertx.promises;
  
When.java wrapper over a vert.x org.vertx.java.platform.Container
  
  public interface WhenContainer {

    
Deploy a verticle programmatically

Parameters:
main The main of the verticle
 
     Promise<StringVoiddeployVerticle(String main);

    
Deploy a verticle programmatically

Parameters:
main The main of the verticle
config JSON config to provide to the verticle
 
     Promise<StringVoiddeployVerticle(String mainJsonObject config);

    
Deploy a verticle programmatically

Parameters:
main The main of the verticle
instances The number of instances to deploy (defaults to 1)
 
     Promise<StringVoiddeployVerticle(String mainint instances);

    
Deploy a verticle programmatically

Parameters:
main The main of the verticle
config JSON config to provide to the verticle
instances The number of instances to deploy (defaults to 1)
 
     Promise<StringVoiddeployVerticle(String mainJsonObject configint instances);

    
Deploy a module programmatically

Parameters:
moduleName The main of the module to deploy
 
     Promise<StringVoiddeployModule(String moduleName);

    
Deploy a module programmatically

Parameters:
moduleName The main of the module to deploy
config JSON config to provide to the module
 
     Promise<StringVoiddeployModule(String moduleNameJsonObject config);

    
Deploy a module programmatically

Parameters:
moduleName The main of the module to deploy
instances The number of instances to deploy (defaults to 1)
 
     Promise<StringVoiddeployModule(String moduleNameint instances);

    
Deploy a module programmatically

Parameters:
moduleName The main of the module to deploy
config JSON config to provide to the module
instances The number of instances to deploy (defaults to 1)
 
     Promise<StringVoiddeployModule(String moduleNameJsonObject configint instances);

    
Deploy a worker verticle programmatically

Parameters:
main The main of the verticle
multiThreaded if true then the verticle will be deployed as a multi-threaded worker
 
     Promise<StringVoiddeployWorkerVerticle(String mainboolean multiThreaded);

    
Deploy a worker verticle programmatically

Parameters:
main The main of the verticle
config JSON config to provide to the verticle
multiThreaded if true then the verticle will be deployed as a multi-threaded worker
 
     Promise<StringVoiddeployWorkerVerticle(String mainJsonObject configboolean multiThreaded);

    
Deploy a worker verticle programmatically

Parameters:
main The main of the verticle
instances The number of instances to deploy (defaults to 1)
multiThreaded if true then the verticle will be deployed as a multi-threaded worker
 
     Promise<StringVoiddeployWorkerVerticle(String mainint instancesboolean multiThreaded);

    
Deploy a worker verticle programmatically

Parameters:
main The main of the verticle
config JSON config to provide to the verticle
instances The number of instances to deploy (defaults to 1)
multiThreaded if true then the verticle will be deployed as a multi-threaded worker
    Promise<StringVoiddeployWorkerVerticle(String mainJsonObject configint instancesboolean multiThreaded);
New to GrepCode? Check out our FAQ X