Examples of TaskManager


Examples of aibo.systemextensions.TaskManager

                Integer.parseInt(Configuration.get("IrcConnection.port")),
                this);

        this.setIrcMessageSender();

        this.taskManager = new TaskManager(this.ircNetwork.getMessageSender());

        this.setUpDataServer();

        this.printAPIVersion();
    }
View Full Code Here

Examples of com.arjuna.services.framework.task.TaskManager

        */
    }

    private void TaskManagerInitialisation()
    {
        final TaskManager taskManager = TaskManager.getManager() ;
        taskManager.setMinimumWorkerCount(taskManagerMinWorkerCount) ;
        taskManager.setMaximumWorkerCount(taskManagerMaxWorkerCount) ;
    }
View Full Code Here

Examples of com.atomikos.icatch.imp.thread.TaskManager

        try {
            tm.shutdown ( force );
            tm = null;
            // shutdown system executors
            TaskManager exec = TaskManager.getInstance();
            if ( exec != null ) {
                exec.shutdown();
            }
            // delegate to superclass to ensure resources are delisted.
            super.shutdown ( force );
     
       try {
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.TaskManager

  }

  public ProcessInstance execute(CommandContext commandContext) {

    TaskManager taskManager = commandContext.getTaskManager();

    TaskInstance taskInstanceQuery = taskManager.findTaskById(taskId);

    String tokenId = taskInstanceQuery.getTokenId();
    String nodeId = taskInstanceQuery.getNodeId();
    String processDefinitionId = taskInstanceQuery.getProcessDefinitionId();
    ProcessInstanceManager processInstanceManager = commandContext
View Full Code Here

Examples of com.packtpub.java7.concurrency.chapter5.recipe05.util.TaskManager

    // Generate an array of 1000 integers
    ArrayGenerator generator=new ArrayGenerator();
    int array[]=generator.generateArray(1000);
   
    // Create a TaskManager object
    TaskManager manager=new TaskManager();
   
    // Create a ForkJoinPool with the default constructor
    ForkJoinPool pool=new ForkJoinPool();
   
    // Create a Task to process the array
View Full Code Here

Examples of com.sun.jini.thread.TaskManager

            new WakeupManager(new WakeupManager.ThreadDesc(null, true));
 
        settlerpool =
            (TaskManager) Config.getNonNullEntry(
                config, TxnManager.MAHALO, "settlerPool", TaskManager.class,
                new TaskManager(settlerthreads, settlertimeout,
                                settlerload));
        taskpool =
            (TaskManager) Config.getNonNullEntry(
                config, TxnManager.MAHALO, "taskPool", TaskManager.class,
                new TaskManager(taskthreads, tasktimeout,
                                taskload))
       
        unsettledtxns = new Vector();
 
        // Create leaseFactory
View Full Code Here

Examples of com.sun.jini.thread.TaskManager

        taskMgr = (TaskManager)Config.getNonNullEntry
                                          (config,
                                           COMPONENT_NAME,
                                           "taskManager",
                                           TaskManager.class,
                                           new TaskManager(10,1000*15,1.0f) );
        /* Get the discovery manager to pass to this service's join manager. */
        try {
            joinMgrLDM  =
                (DiscoveryManagement)Config.getNonNullEntry
                                                  (config,
View Full Code Here

Examples of com.sun.jini.thread.TaskManager

         */
        Notifier(Configuration config) throws ConfigurationException {
          super("Notifier");
          taskManager = (TaskManager)Config.getNonNullEntry(config,
          MERCURY, "notificationsTaskManager",
          TaskManager.class, new TaskManager());
//TODO - defer TaskManager() creation to catch block of getEntry()
          start();
        }
View Full Code Here

Examples of com.sun.jini.thread.TaskManager

        try {
            taskManager = (TaskManager)config.getEntry(COMPONENT_NAME,
                   "taskManager",
                   TaskManager.class);
        } catch(NoSuchEntryException e) { /* use default */
            taskManager = new TaskManager(MAX_N_TASKS,(15*1000),1.0f);
        }

        /* Multicast request-related configuration items */
        multicastRequestMax
         = ( (Integer)config.getEntry
View Full Code Here

Examples of com.sun.jsft.tasks.TaskManager

      facetMap.put(key, comp);

      // Register task(s)
      String task = (String) comp.getAttributes().get("task");
      StringTokenizer tok = new StringTokenizer(task, ";");
      TaskManager tm = TaskManager.getInstance();
      int taskCount = 0;
      while (tok.hasMoreTokens()) {
    task = tok.nextToken().trim();

    // Check to see if we have task:listenerType
    int idx = task.indexOf(":");
    String type = null;
    if (idx != -1) {
        type = task.substring(idx + 1);
        task = task.substring(0, idx);
      }

    // Register the Task...
    tm.addTask(task, type, new DeferredFragmentTaskListener(comp));

    // Count the tasks we depend on...
    taskCount++;
      }
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.