Class ThreadPoolJobExecutor
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
org.camunda.bpm.engine.impl.jobexecutor.ThreadPoolJobExecutor
- Direct Known Subclasses:
DefaultJobExecutor
- 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeJobs
(List<String> jobIds, ProcessEngineImpl processEngine) void
setThreadPoolExecutor
(ThreadPoolExecutor threadPoolExecutor) protected void
protected void
Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
calculateTotalQueueCapacity, engineIterator, ensureCleanup, ensureInitialization, executeJobs, getAcquireJobsCmd, getAcquireJobsCmdFactory, getAcquireJobsRunnable, getBackoffDecreaseThreshold, getBackoffTimeInMillis, getCommandExecutor, getExecuteJobsRunnable, getLockOwner, getLockTimeInMillis, getMaxBackoff, getMaxJobsPerAcquisition, getMaxWait, getName, getProcessEngines, getRejectedJobsHandler, getWaitIncreaseFactor, getWaitTimeInMillis, hasRegisteredEngine, isActive, isAutoActivate, jobWasAdded, logAcquiredJobs, logAcquisitionAttempt, logAcquisitionFailureJobs, logJobExecutionInfo, logRejectedExecution, registerProcessEngine, setAcquireJobsCmdFactory, setAutoActivate, setBackoffDecreaseThreshold, setBackoffTimeInMillis, setCommandExecutor, setLockOwner, setLockTimeInMillis, setMaxBackoff, setMaxJobsPerAcquisition, setMaxWait, setProcessEngines, setRejectedJobsHandler, setWaitIncreaseFactor, setWaitTimeInMillis, shutdown, start, startJobAcquisitionThread, stopJobAcquisitionThread, unregisterProcessEngine
-
Field Details
-
threadPoolExecutor
-
-
Constructor Details
-
ThreadPoolJobExecutor
public ThreadPoolJobExecutor()
-
-
Method Details
-
startExecutingJobs
protected void startExecutingJobs()- Specified by:
startExecutingJobs
in classJobExecutor
-
stopExecutingJobs
protected void stopExecutingJobs()- Specified by:
stopExecutingJobs
in classJobExecutor
-
executeJobs
- Specified by:
executeJobs
in classJobExecutor
-
getThreadPoolExecutor
-
setThreadPoolExecutor
-