public class ManagedAsyncJobExecutor extends DefaultAsyncJobExecutor
ManagedThreadFactory. Falls back to AsyncExecutor when a thread factory was not referenced in configuration.
In Java EE 7, all application servers should provide access to a ManagedThreadFactory.| Modifier and Type | Field and Description |
|---|---|
protected javax.enterprise.concurrent.ManagedThreadFactory |
threadFactory |
asyncJobAcquisitionThread, 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 |
|---|
ManagedAsyncJobExecutor() |
| Modifier and Type | Method and Description |
|---|---|
javax.enterprise.concurrent.ManagedThreadFactory |
getThreadFactory() |
protected void |
initAsyncJobExecutionThreadPool() |
void |
setThreadFactory(javax.enterprise.concurrent.ManagedThreadFactory threadFactory) |
executeAsyncJob, 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, executeAsyncJob, 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 javax.enterprise.concurrent.ManagedThreadFactory getThreadFactory()
public void setThreadFactory(javax.enterprise.concurrent.ManagedThreadFactory threadFactory)
protected void initAsyncJobExecutionThreadPool()
initAsyncJobExecutionThreadPool in class DefaultAsyncJobExecutorCopyright © 2018 Flowable. All rights reserved.