org.camunda.bpm.engine.impl.jobexecutor
Class ExecuteJobsRunnable

java.lang.Object
  extended by org.camunda.bpm.engine.impl.jobexecutor.ExecuteJobsRunnable
All Implemented Interfaces:
Runnable

public class ExecuteJobsRunnable
extends Object
implements Runnable

Author:
Tom Baeyens, Daniel Meyer

Field Summary
protected  JobExecutor jobExecutor
           
protected  List<String> jobIds
           
protected  ProcessEngineImpl processEngine
           
 
Constructor Summary
ExecuteJobsRunnable(List<String> jobIds, ProcessEngineImpl processEngine)
           
 
Method Summary
protected  void executeJob(String nextJobId, CommandExecutor commandExecutor)
          Note: this is a hook to be overridden by org.camunda.bpm.container.impl.threading.ra.inflow.JcaInflowExecuteJobsRunnable.executeJob(String, CommandExecutor)
 void run()
           
protected  void unlockJob(String nextJobId, CommandExecutor commandExecutor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobIds

protected final List<String> jobIds

jobExecutor

protected JobExecutor jobExecutor

processEngine

protected ProcessEngineImpl processEngine
Constructor Detail

ExecuteJobsRunnable

public ExecuteJobsRunnable(List<String> jobIds,
                           ProcessEngineImpl processEngine)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

executeJob

protected void executeJob(String nextJobId,
                          CommandExecutor commandExecutor)
Note: this is a hook to be overridden by org.camunda.bpm.container.impl.threading.ra.inflow.JcaInflowExecuteJobsRunnable.executeJob(String, CommandExecutor)


unlockJob

protected void unlockJob(String nextJobId,
                         CommandExecutor commandExecutor)


Copyright © 2017 camunda services GmbH. All rights reserved.