类的使用
org.springframework.scheduling.concurrent.ExecutorConfigurationSupport
使用ExecutorConfigurationSupport的程序包 程序包 说明 org.springframework.scheduling.concurrent Scheduling convenience classes for thejava.util.concurrent
andjavax.enterprise.concurrent
packages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context.org.springframework.scheduling.concurrent中ExecutorConfigurationSupport的使用
org.springframework.scheduling.concurrent中ExecutorConfigurationSupport的子类 修饰符和类型 类 说明 class
ScheduledExecutorFactoryBean
FactoryBean
that sets up aScheduledExecutorService
(by default: aScheduledThreadPoolExecutor
) and exposes it for bean references.class
ThreadPoolExecutorFactoryBean
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorService
type.class
ThreadPoolTaskExecutor
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor
.class
ThreadPoolTaskScheduler
Implementation of Spring'sTaskScheduler
interface, wrapping a nativeScheduledThreadPoolExecutor
.