Package org.camunda.bpm.container

Examples of org.camunda.bpm.container.ExecutorService


  }

  public void executeJobs(List<String> jobIds, ProcessEngineImpl processEngine) {
   
    final RuntimeContainerDelegate runtimeContainerDelegate = getRuntimeContainerDelegate();
    final ExecutorService executorService = runtimeContainerDelegate.getExecutorService();
   
    Runnable executeJobsRunnable = executorService.getExecuteJobsRunnable(jobIds, processEngine);
   
    // delegate job execution to runtime container
    if(!executorService.schedule(executeJobsRunnable, false)) {
     
      // TODO: if the execution is rejected by the runtime container, execute the rejected jobs handler

      // run in caller thread
      executeJobsRunnable.run();
View Full Code Here

TOP

Related Classes of org.camunda.bpm.container.ExecutorService

Copyright © 2018 www.massapicom. 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.