org.camunda.bpm.engine.impl.jobexecutor
Class ThreadPoolJobExecutor
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
org.camunda.bpm.engine.impl.jobexecutor.ThreadPoolJobExecutor
- Direct Known Subclasses:
- DefaultJobExecutor
public class ThreadPoolJobExecutor
- extends JobExecutor
- Author:
- Daniel Meyer
| Fields inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor |
acquireJobsCmd, acquireJobsRunnable, isActive, isAutoActivate, jobAcquisitionThread, lockOwner, lockTimeInMillis, maxJobsPerAcquisition, name, processEngines, rejectedJobsHandler, waitTimeInMillis |
| Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor |
ensureCleanup, ensureInitialization, executeJobs, getAcquireJobsCmd, getAcquireJobsRunnable, getCommandExecutor, getLockOwner, getLockTimeInMillis, getMaxJobsPerAcquisition, getName, getProcessEngines, getRejectedJobsHandler, getWaitTimeInMillis, isActive, isAutoActivate, jobWasAdded, registerProcessEngine, setAcquireJobsCmd, setAutoActivate, setCommandExecutor, setLockOwner, setLockTimeInMillis, setMaxJobsPerAcquisition, setProcessEngines, setRejectedJobsHandler, setWaitTimeInMillis, shutdown, start, startJobAcquisitionThread, stopJobAcquisitionThread, unregisterProcessEngine |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
threadPoolExecutor
protected ThreadPoolExecutor threadPoolExecutor
ThreadPoolJobExecutor
public ThreadPoolJobExecutor()
startExecutingJobs
protected void startExecutingJobs()
- Specified by:
startExecutingJobs in class JobExecutor
stopExecutingJobs
protected void stopExecutingJobs()
- Specified by:
stopExecutingJobs in class JobExecutor
executeJobs
public void executeJobs(List<String> jobIds,
ProcessEngineImpl processEngine)
- Specified by:
executeJobs in class JobExecutor
getThreadPoolExecutor
public ThreadPoolExecutor getThreadPoolExecutor()
setThreadPoolExecutor
public void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)
Copyright © 2015 camunda services GmbH. All rights reserved.