Examples of execute()


Examples of org.apache.whirr.actions.StartServicesAction.execute()

  }
 
  public Cluster startServices(ClusterSpec clusterSpec, Cluster cluster,
      Set<String> targetRoles, Set<String> targetInstanceIds) throws IOException, InterruptedException {
    StartServicesAction starter = new StartServicesAction(getCompute(), handlerMapFactory.create(), targetRoles, targetInstanceIds);
    return starter.execute(clusterSpec, cluster);
  }

  /**
   * Stop the cluster services
   */
 
View Full Code Here

Examples of org.apache.whirr.actions.StopServicesAction.execute()

  }
 
  public Cluster stopServices(ClusterSpec clusterSpec, Cluster cluster, Set<String> targetRoles,
    Set<String> targetInstanceIds) throws IOException, InterruptedException {
    StopServicesAction stopper = new StopServicesAction(getCompute(), handlerMapFactory.create(), targetRoles, targetInstanceIds);
    return stopper.execute(clusterSpec, cluster);
  }

  /**
   * Remove the cluster services
   */
 
View Full Code Here

Examples of org.apache.whirr.cluster.actions.BootstrapClusterAction.execute()

   */
  public Cluster launchCluster(ClusterSpec clusterSpec)
      throws IOException, InterruptedException {
   
    BootstrapClusterAction bootstrapper = new BootstrapClusterAction();
    Cluster cluster = bootstrapper.execute(clusterSpec, null);

    ConfigureClusterAction configurer = new ConfigureClusterAction();
    cluster = configurer.execute(clusterSpec, cluster);
   
    createInstancesFile(clusterSpec, cluster);
View Full Code Here

Examples of org.apache.whirr.cluster.actions.ConfigureClusterAction.execute()

   
    BootstrapClusterAction bootstrapper = new BootstrapClusterAction();
    Cluster cluster = bootstrapper.execute(clusterSpec, null);

    ConfigureClusterAction configurer = new ConfigureClusterAction();
    cluster = configurer.execute(clusterSpec, cluster);
   
    createInstancesFile(clusterSpec, cluster);
   
    return cluster;
  }
View Full Code Here

Examples of org.apache.whirr.cluster.actions.DestroyClusterAction.execute()

   * @throws InterruptedException if the thread is interrupted.
   */
  public void destroyCluster(ClusterSpec clusterSpec) throws IOException,
      InterruptedException {
    DestroyClusterAction destroyer = new DestroyClusterAction();
    destroyer.execute(clusterSpec, null);
    Files.deleteRecursively(clusterSpec.getClusterDirectory());
  }
 
  public Set<? extends NodeMetadata> getNodes(ClusterSpec clusterSpec)
    throws IOException, InterruptedException {
View Full Code Here

Examples of org.apache.wicket.cluster.session.message.SessionMessage.execute()

        .get(sessionMessage.getContextPath());
    if (provider == null) {
      log.error("Couldn't find session provider for context "
          + sessionMessage.getContextPath());
    } else {
      sessionMessage.execute(provider);
    }
  }

  public static Class<? extends Filter> getFilterClass() {
    return ClusteredFilter.class;
View Full Code Here

Examples of org.apache.wicket.request.RequestHandlerStack.execute()

      {
        testFlag1 = false;

        Response resp = newResponse();
        requestCycle.setResponse(resp);
        stack.execute(handler2);
        assertEquals(requestCycle.getResponse(), resp);

        // this code must be executed
        testFlag1 = true;
      }
View Full Code Here

Examples of org.apache.wiki.api.engine.PluginManager.execute()

        if( body != null )
        {
            argmap.put( "_body", body );
        }

        String result = pm.execute( m_wikiContext, plugin, argmap );

        return result;       
    }
   
    /**
 
View Full Code Here

Examples of org.apache.wiki.api.plugin.WikiPlugin.execute()

            //
            //  ...and launch.
            //
            try {
                return plugin.execute( context, params );
            } catch( PluginException e ) {
                if( debug ) {
                    return stackTrace( params, e );
                }
View Full Code Here

Examples of org.apache.wiki.dav.methods.DavMethod.execute()

       
        DavPath path = new DavPath( p );
        if( path.isRoot() )
        {
            DavMethod dm = new PropFindMethod( m_rootProvider );
            dm.execute( req, res, path );
        }
        else
        {
            String context = path.get(0);
           
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.