public class ThreadPoolJobExecutor extends JobExecutor
| Modifier and Type | Field and Description |
|---|---|
protected ThreadPoolExecutor |
threadPoolExecutor |
acquireJobsCmd, acquireJobsRunnable, isActive, isAutoActivate, jobAcquisitionThread, lockOwner, lockTimeInMillis, maxJobsPerAcquisition, name, processEngines, rejectedJobsHandler, waitTimeInMillis| Constructor and Description |
|---|
ThreadPoolJobExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeJobs(List<String> jobIds,
ProcessEngineImpl processEngine) |
ThreadPoolExecutor |
getThreadPoolExecutor() |
void |
setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor) |
protected void |
startExecutingJobs() |
protected void |
stopExecutingJobs() |
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, unregisterProcessEngineprotected ThreadPoolExecutor threadPoolExecutor
protected void startExecutingJobs()
startExecutingJobs in class JobExecutorprotected void stopExecutingJobs()
stopExecutingJobs in class JobExecutorpublic void executeJobs(List<String> jobIds, ProcessEngineImpl processEngine)
executeJobs in class JobExecutorpublic ThreadPoolExecutor getThreadPoolExecutor()
public void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)
Copyright © 2018. All rights reserved.