Package org.camunda.bpm.container
Interface ExecutorService
- All Known Implementing Classes:
- CommonJWorkManagerExecutorService,- ExecutorServiceBean,- JcaWorkManagerExecutorService,- JmxManagedThreadPool,- MscExecutorService,- SeExecutorService
public interface ExecutorService
- Author:
- Daniel Meyer
- 
Method SummaryModifier and TypeMethodDescriptiongetExecuteJobsRunnable(List<String> jobIds, ProcessEngineImpl processEngine) Returns a runnable to be used for executing Jobs.booleanPasses aRunnableto the runtime container for execution.
- 
Method Details- 
schedulePasses a Runnableto the runtime container for execution. Some runtime containers (like a Java EE container offer container provided infrastructure for executing background work (such as a JCA WorkManager). This method allows the process engine to take advantage of container infrastructure for doing background work.- Parameters:
- runnable- the- Runnableto be executed.
- isLongRunning- indicates whether the runnable is a daemon.
- Returns:
- true if the runnable could be successfully scheduled for execution. 'false' otherwise.
 
- 
getExecuteJobsRunnableReturns a runnable to be used for executing Jobs. - Parameters:
- jobIds-
- processEngine-
- Returns:
 
 
-