接口的使用
org.springframework.scheduling.SchedulingTaskExecutor
使用SchedulingTaskExecutor的程序包 程序包 说明 org.springframework.jca.work Convenience classes for scheduling based on the JCA WorkManager facility, as supported within ResourceAdapters.org.springframework.scheduling.commonj Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.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.quartz Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context.org.springframework.jca.work中SchedulingTaskExecutor的使用
实现SchedulingTaskExecutor的org.springframework.jca.work中的类 修饰符和类型 类 说明 class
WorkManagerTaskExecutor
TaskExecutor
implementation that delegates to a JCA 1.7 WorkManager, implementing theWorkManager
interface.org.springframework.scheduling.commonj中SchedulingTaskExecutor的使用
实现SchedulingTaskExecutor的org.springframework.scheduling.commonj中的类 修饰符和类型 类 说明 class
WorkManagerTaskExecutor
已过时。as of 5.1, in favor of the EE 7/8 basedDefaultManagedTaskExecutor
org.springframework.scheduling.concurrent中SchedulingTaskExecutor的使用
实现SchedulingTaskExecutor的org.springframework.scheduling.concurrent中的类 修饰符和类型 类 说明 class
ConcurrentTaskExecutor
Adapter that takes ajava.util.concurrent.Executor
and exposes a SpringTaskExecutor
for it.class
ConcurrentTaskScheduler
Adapter that takes ajava.util.concurrent.ScheduledExecutorService
and exposes a SpringTaskScheduler
for it.class
DefaultManagedTaskExecutor
JNDI-based variant ofConcurrentTaskExecutor
, performing a default lookup for JSR-236's "java:comp/DefaultManagedExecutorService" in a Java EE 7/8 environment.class
DefaultManagedTaskScheduler
JNDI-based variant ofConcurrentTaskScheduler
, performing a default lookup for JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Java EE 7 environment.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
.org.springframework.scheduling.quartz中SchedulingTaskExecutor的使用
实现SchedulingTaskExecutor的org.springframework.scheduling.quartz中的类 修饰符和类型 类 说明 class
SimpleThreadPoolTaskExecutor
Subclass of Quartz's SimpleThreadPool that implements Spring'sTaskExecutor
interface and listens to Spring lifecycle callbacks.