Examples of ExecutionMode


Examples of eu.stratosphere.nephele.jobmanager.JobManager.ExecutionMode

      }

      GlobalConfiguration.loadConfiguration(configDir);

      // start JobManager
      ExecutionMode executionMode = ExecutionMode.LOCAL;
      JobManager jm = new JobManager(executionMode);

      final TestInstanceListener testInstanceListener = new TestInstanceListener();
 
      LocalInstanceManager lm = (LocalInstanceManager) jm.getInstanceManager(); // this is for sure, because I chose the local strategy
View Full Code Here

Examples of org.apache.flink.runtime.ExecutionMode

 
  private final List<TaskManager> taskManagers = new ArrayList<TaskManager>();

 
  public LocalInstanceManager(int numTaskManagers) throws Exception {
    ExecutionMode execMode = numTaskManagers == 1 ? ExecutionMode.LOCAL : ExecutionMode.CLUSTER;
   
    final int ipcPort = GlobalConfiguration.getInteger(ConfigConstants.TASK_MANAGER_IPC_PORT_KEY, -1);
    final int dataPort = GlobalConfiguration.getInteger(ConfigConstants.TASK_MANAGER_DATA_PORT_KEY, -1);
   
    for (int i = 0; i < numTaskManagers; i++) {
View Full Code Here

Examples of org.apache.flink.runtime.ExecutionMode

    }

    final String configDir = line.getOptionValue(configDirOpt.getOpt(), null);
    final String executionModeName = line.getOptionValue(executionModeOpt.getOpt(), "local");
   
    ExecutionMode executionMode = null;
    if ("local".equals(executionModeName)) {
      executionMode = ExecutionMode.LOCAL;
    } else if ("cluster".equals(executionModeName)) {
      executionMode = ExecutionMode.CLUSTER;
    } else {
View Full Code Here

Examples of org.freeplane.plugin.script.ExecuteScriptAction.ExecutionMode

    protected void registerScripts(JCommandPopupMenu popupmenu) {
        if (configuration.getMenuTitleToPathMap().isEmpty()) {
            popupmenu.addMenuButton(createNoScriptsAvailableButton());
        }
        else {
            final ExecutionMode executionMode = getExecutionMode();
            for (final Entry<String, String> entry : configuration.getMenuTitleToPathMap().entrySet()) {
                popupmenu.addMenuButton(createScriptButton(entry.getKey(), entry.getValue(), executionMode));
            }
        }
    }
View Full Code Here

Examples of org.geomajas.service.pipeline.PipelineInterceptor.ExecutionMode

      log.debug("execute beforeSteps for interceptor {}", interceptor.getId());
      long its = 0;
      if (log.isDebugEnabled()) {
        its  = System.currentTimeMillis();
      }
      ExecutionMode mode = interceptor.beforeSteps(context, response);
      if (mode == null) {
        mode = ExecutionMode.EXECUTE_ALL;
      }
      switch (mode) {
        case EXECUTE_ALL:
View Full Code Here

Examples of org.jboss.as.console.client.core.bootstrap.ExecutionMode

                }

                // ordered bootstrap
                final BootstrapProcess bootstrap = new BootstrapProcess();

                bootstrap.addHook(new ExecutionMode(MODULES.getBootstrapContext(), MODULES.getDispatchAsync()));
                bootstrap.addHook(new RegisterSubsystems(MODULES.getSubsystemRegistry()));
                bootstrap.addHook(new ChoseProcessor(MODULES.getBootstrapContext()));
                bootstrap.addHook(new EagerLoadProfiles(MODULES.getProfileStore(), MODULES.getCurrentSelectedProfile()));
                bootstrap.addHook(new RemoveLoadingPanel(loadingPanel));
                bootstrap.addHook(new LoadMainApp(MODULES.getBootstrapContext(), MODULES.getPlaceManager(), MODULES.getTokenFormatter()));
View Full Code Here

Examples of org.jboss.as.console.client.core.bootstrap.ExecutionMode

                        // bootstrap functions
                        // Activate once CORS is supported / Keymaker is in place
                        // new BootstrapServerSetup(),
                        new LoadGoogleViz(),
                        new ExecutionMode(MODULES.getDispatchAsync()),
                        new TrackExecutionMode(MODULES.getAnalytics()),
                        new LoadCompatMatrix(MODULES.modelVersions()),
                        new RegisterSubsystems(MODULES.getSubsystemRegistry()),
                        new EagerLoadProfiles(MODULES.getProfileStore(), MODULES.getCurrentSelectedProfile()),
                        new EagerLoadHosts(MODULES.getDomainEntityManager()),
View Full Code Here

Examples of org.jboss.as.console.client.core.bootstrap.ExecutionMode

                        // bootstrap functions
                        // Activate once CORS is supported / Keymaker is in place
                        // new BootstrapServerSetup(),
                        new LoadGoogleViz(),
                        new ExecutionMode(MODULES.getDispatchAsync()),
                        new TrackExecutionMode(MODULES.getAnalytics()),
                        new LoadCompatMatrix(MODULES.modelVersions()),
                        new RegisterSubsystems(MODULES.getSubsystemRegistry()),
                        new EagerLoadProfiles(MODULES.getProfileStore(), MODULES.getCurrentSelectedProfile()),
                        new EagerLoadHosts(MODULES.getDomainEntityManager()),
View Full Code Here

Examples of org.jboss.as.console.client.core.bootstrap.ExecutionMode

                        // bootstrap functions
                        // Activate once CORS is supported / Keymaker is in place
                        // new BootstrapServerSetup(),
                        new LoadGoogleViz(),
                        new ExecutionMode(MODULES.getDispatchAsync()),
                        new TrackExecutionMode(MODULES.getAnalytics()),
                        new LoadCompatMatrix(MODULES.modelVersions()),
                        new RegisterSubsystems(MODULES.getSubsystemRegistry()),
                        new EagerLoadProfiles(MODULES.getProfileStore(), MODULES.getCurrentSelectedProfile()),
                        new EagerLoadHosts(MODULES.getDomainEntityManager()),
View Full Code Here

Examples of org.jboss.as.console.client.core.bootstrap.ExecutionMode

                        MODULES.getBootstrapContext(), // shared context
                        bootstrapOutcome, // outcome

                        // bootstrap functions
                        new LoadGoogleViz(),
                        new ExecutionMode(MODULES.getDispatchAsync()),
                        new TrackExecutionMode(MODULES.getAnalytics()),
                        new LoadCompatMatrix(MODULES.modelVersions()),
                        new RegisterSubsystems(MODULES.getSubsystemRegistry()),
                        new ChoseProcessor(),
                        new EagerLoadProfiles(MODULES.getProfileStore(), MODULES.getCurrentSelectedProfile()),
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.