@Deprecated public class SpringAsyncExecutor extends SpringAsyncExecutor
This is a spring based implementation of the JobExecutor using spring abstraction TaskExecutor for performing background task execution.
The idea behind this implementation is to externalize the configuration of the task executor, so it can leverage to Application servers controller thread pools, for example using the commonj API. The use of unmanaged thread in application servers is discouraged by the Java EE spec.
rejectedJobsHandler, taskExecutorasyncJobAcquisitionThread, corePoolSize, executorService, isAsyncJobAcquisitionEnabled, isResetExpiredJobEnabled, isTimerJobAcquisitionEnabled, keepAliveTime, maxPoolSize, queueSize, resetExpiredJobThread, secondsToWaitOnShutdown, threadPoolNamingPattern, threadPoolQueue, timerJobAcquisitionThread, unlockOwnedJobsacquireRunnableThreadName, asyncJobLockTimeInMillis, asyncJobsDueRunnable, asyncRunnableExecutionExceptionHandler, defaultAsyncJobAcquireWaitTimeInMillis, defaultQueueSizeFullWaitTime, defaultTimerJobAcquireWaitTimeInMillis, executeAsyncRunnableFactory, isActive, isAutoActivate, isMessageQueueMode, jobEntityManager, jobServiceConfiguration, lockOwner, maxAsyncJobsDuePerAcquisition, maxTimerJobsPerAcquisition, resetExpiredJobsInterval, resetExpiredJobsPageSize, resetExpiredJobsRunnable, resetExpiredRunnableName, retryWaitTimeInMillis, temporaryJobQueue, timerJobRunnable, timerLockTimeInMillis, timerRunnableNeeded| Constructor and Description |
|---|
SpringAsyncExecutor()
Deprecated.
|
SpringAsyncExecutor(org.springframework.core.task.TaskExecutor taskExecutor,
SpringRejectedJobsHandler rejectedJobsHandler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
SpringRejectedJobsHandler |
getRejectedJobsHandler()
Deprecated.
|
void |
setRejectedJobsHandler(SpringRejectedJobsHandler rejectedJobsHandler)
Deprecated.
use
this#setRejectedJobsHandler(org.flowable.spring.job.service.SpringRejectedJobsHandler) |
executeAsyncJob, getTaskExecutor, initAsyncJobExecutionThreadPool, setRejectedJobsHandler, setTaskExecutorexecuteAsyncJob, getAsyncJobAcquisitionThread, getCorePoolSize, getExecutorService, getKeepAliveTime, getMaxPoolSize, getQueueSize, getRemainingCapacity, getResetExpiredJobThread, getSecondsToWaitOnShutdown, getThreadPoolNamingPattern, getThreadPoolQueue, getTimerJobAcquisitionThread, isAsyncJobAcquisitionEnabled, isResetExpiredJobEnabled, isTimerJobAcquisitionEnabled, isUnlockOwnedJobs, setAsyncJobAcquisitionEnabled, setAsyncJobAcquisitionThread, setCorePoolSize, setExecutorService, setKeepAliveTime, setMaxPoolSize, setQueueSize, setResetExpiredJobEnabled, setResetExpiredJobThread, setSecondsToWaitOnShutdown, setThreadPoolNamingPattern, setThreadPoolQueue, setTimerJobAcquisitionEnabled, setTimerJobAcquisitionThread, setUnlockOwnedJobs, shutdownAdditionalComponents, startAdditionalComponents, startJobAcquisitionThread, startResetExpiredJobsThread, startTimerAcquisitionThread, stopExecutingAsyncJobs, stopJobAcquisitionThread, stopResetExpiredJobsThread, stopTimerAcquisitionThread, unacquireJobAfterRejectioncreateRunnableForJob, executeTemporaryJobs, getAsyncJobLockTimeInMillis, getAsyncJobsDueRunnable, getAsyncRunnableExecutionExceptionHandler, getDefaultAsyncJobAcquireWaitTimeInMillis, getDefaultQueueSizeFullWaitTimeInMillis, getDefaultTimerJobAcquireWaitTimeInMillis, getExecuteAsyncRunnableFactory, getJobServiceConfiguration, getLockOwner, getMaxAsyncJobsDuePerAcquisition, getMaxTimerJobsPerAcquisition, getResetExpiredJobsInterval, getResetExpiredJobsPageSize, getResetExpiredJobsRunnable, getRetryWaitTimeInMillis, getTimerJobRunnable, getTimerLockTimeInMillis, initializeJobEntityManager, initializeRunnables, isActive, isAutoActivate, isMessageQueueMode, setAcquireRunnableThreadName, setAsyncJobLockTimeInMillis, setAsyncJobsDueRunnable, setAsyncRunnableExecutionExceptionHandler, setAutoActivate, setDefaultAsyncJobAcquireWaitTimeInMillis, setDefaultQueueSizeFullWaitTimeInMillis, setDefaultTimerJobAcquireWaitTimeInMillis, setExecuteAsyncRunnableFactory, setJobEntityManager, setJobServiceConfiguration, setLockOwner, setMaxAsyncJobsDuePerAcquisition, setMaxTimerJobsPerAcquisition, setMessageQueueMode, setResetExpiredJobsInterval, setResetExpiredJobsPageSize, setResetExpiredJobsRunnable, setResetExpiredRunnableName, setRetryWaitTimeInMillis, setTimerJobRunnable, setTimerLockTimeInMillis, setTimerRunnableNeeded, shutdown, start, stopRunnables, unlockOwnedJobspublic SpringAsyncExecutor()
public SpringAsyncExecutor(org.springframework.core.task.TaskExecutor taskExecutor,
SpringRejectedJobsHandler rejectedJobsHandler)
public SpringRejectedJobsHandler getRejectedJobsHandler()
getRejectedJobsHandler in class SpringAsyncExecutor@Deprecated public void setRejectedJobsHandler(SpringRejectedJobsHandler rejectedJobsHandler)
this#setRejectedJobsHandler(org.flowable.spring.job.service.SpringRejectedJobsHandler)RejectedJobsHandler implementation that will be used when jobs were rejected by the task executor.rejectedJobsHandler - Copyright © 2019 Flowable. All rights reserved.