Class RuntimeContainerJobExecutor
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
-
- org.camunda.bpm.engine.impl.jobexecutor.RuntimeContainerJobExecutor
-
- Direct Known Subclasses:
MscRuntimeContainerJobExecutor
public class RuntimeContainerJobExecutor extends JobExecutor
JobExecutor implementation that delegates the execution of jobs to the
RuntimeContainer- Author:
- Daniel Meyer
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
acquireJobsCmdFactory, acquireJobsRunnable, backoffDecreaseThreshold, backoffTimeInMillis, isActive, isAutoActivate, jobAcquisitionThread, lockOwner, lockTimeInMillis, maxBackoff, maxJobsPerAcquisition, maxWait, name, processEngines, rejectedJobsHandler, waitIncreaseFactor, waitTimeInMillis
-
-
Constructor Summary
Constructors Constructor Description RuntimeContainerJobExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteJobs(java.util.List<java.lang.String> jobIds, ProcessEngineImpl processEngine)java.lang.RunnablegetExecuteJobsRunnable(java.util.List<java.lang.String> jobIds, ProcessEngineImpl processEngine)protected RuntimeContainerDelegategetRuntimeContainerDelegate()protected voidstartExecutingJobs()protected voidstopExecutingJobs()-
Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
engineIterator, ensureCleanup, ensureInitialization, executeJobs, getAcquireJobsCmd, getAcquireJobsCmdFactory, getAcquireJobsRunnable, getBackoffDecreaseThreshold, getBackoffTimeInMillis, getCommandExecutor, getLockOwner, getLockTimeInMillis, getMaxBackoff, getMaxJobsPerAcquisition, getMaxWait, getName, getProcessEngines, getRejectedJobsHandler, getWaitIncreaseFactor, getWaitTimeInMillis, hasRegisteredEngine, isActive, isAutoActivate, jobWasAdded, logAcquiredJobs, logAcquisitionAttempt, logAcquisitionFailureJobs, logRejectedExecution, registerProcessEngine, setAcquireJobsCmdFactory, setAutoActivate, setBackoffDecreaseThreshold, setBackoffTimeInMillis, setCommandExecutor, setLockOwner, setLockTimeInMillis, setMaxBackoff, setMaxJobsPerAcquisition, setMaxWait, setProcessEngines, setRejectedJobsHandler, setWaitIncreaseFactor, setWaitTimeInMillis, shutdown, start, startJobAcquisitionThread, stopJobAcquisitionThread, unregisterProcessEngine
-
-
-
-
Method Detail
-
startExecutingJobs
protected void startExecutingJobs()
- Specified by:
startExecutingJobsin classJobExecutor
-
stopExecutingJobs
protected void stopExecutingJobs()
- Specified by:
stopExecutingJobsin classJobExecutor
-
executeJobs
public void executeJobs(java.util.List<java.lang.String> jobIds, ProcessEngineImpl processEngine)- Specified by:
executeJobsin classJobExecutor
-
getRuntimeContainerDelegate
protected RuntimeContainerDelegate getRuntimeContainerDelegate()
-
getExecuteJobsRunnable
public java.lang.Runnable getExecuteJobsRunnable(java.util.List<java.lang.String> jobIds, ProcessEngineImpl processEngine)- Overrides:
getExecuteJobsRunnablein classJobExecutor
-
-