Class ThreadPoolTaskExecutor

  • All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.Executor, java.util.concurrent.ThreadFactory, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.core.task.AsyncListenableTaskExecutor, org.springframework.core.task.AsyncTaskExecutor, org.springframework.core.task.TaskExecutor, org.springframework.scheduling.SchedulingTaskExecutor

    public class ThreadPoolTaskExecutor
    extends org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.springframework.scheduling.concurrent.ExecutorConfigurationSupport

        logger
      • Fields inherited from interface org.springframework.core.task.AsyncTaskExecutor

        TIMEOUT_IMMEDIATE, TIMEOUT_INDEFINITE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initialize()  
      • Methods inherited from class org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor

        cancelRemainingTask, createQueue, execute, execute, getActiveCount, getCorePoolSize, getKeepAliveSeconds, getMaxPoolSize, getPoolSize, getQueueCapacity, getQueueSize, getThreadPoolExecutor, initializeExecutor, setAllowCoreThreadTimeOut, setCorePoolSize, setKeepAliveSeconds, setMaxPoolSize, setPrestartAllCoreThreads, setQueueCapacity, setTaskDecorator, submit, submit, submitListenable, submitListenable
      • Methods inherited from class org.springframework.scheduling.concurrent.ExecutorConfigurationSupport

        afterPropertiesSet, destroy, setAwaitTerminationMillis, setAwaitTerminationSeconds, setBeanName, setRejectedExecutionHandler, setThreadFactory, setThreadNamePrefix, setWaitForTasksToCompleteOnShutdown, shutdown
      • Methods inherited from class org.springframework.scheduling.concurrent.CustomizableThreadFactory

        newThread
      • Methods inherited from class org.springframework.util.CustomizableThreadCreator

        createThread, getDefaultThreadNamePrefix, getThreadGroup, getThreadNamePrefix, getThreadPriority, isDaemon, nextThreadName, setDaemon, setThreadGroup, setThreadGroupName, setThreadPriority
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.scheduling.SchedulingTaskExecutor

        prefersShortLivedTasks
    • Constructor Detail

      • ThreadPoolTaskExecutor

        public ThreadPoolTaskExecutor()
    • Method Detail

      • initialize

        public void initialize()
        Overrides:
        initialize in class org.springframework.scheduling.concurrent.ExecutorConfigurationSupport