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, unregisterProcessEngine
protected ThreadPoolExecutor threadPoolExecutor
protected void startExecutingJobs()
startExecutingJobs
in class JobExecutor
protected void stopExecutingJobs()
stopExecutingJobs
in class JobExecutor
public void executeJobs(List<String> jobIds, ProcessEngineImpl processEngine)
executeJobs
in class JobExecutor
public ThreadPoolExecutor getThreadPoolExecutor()
public void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)
Copyright © 2015. All rights reserved.