接口的使用
cn.taketoday.scheduling.SchedulingTaskExecutor
使用SchedulingTaskExecutor的程序包
程序包
说明
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Framework
context.-
cn.taketoday.scheduling.concurrent中SchedulingTaskExecutor的使用
修饰符和类型类说明classAdapter that takes ajava.util.concurrent.Executorand exposes a FrameworkTaskExecutorfor it.classAdapter that takes ajava.util.concurrent.ScheduledExecutorServiceand exposes a FrameworkTaskSchedulerfor it.classJNDI-based variant ofConcurrentTaskExecutor, performing a default lookup for JSR-236's "java:comp/DefaultManagedExecutorService" in a Jakarta EE/8 environment.classJNDI-based variant ofConcurrentTaskScheduler, performing a default lookup for JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Jakarta EE environment.classJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a FrameworkTaskExecutor.classImplementation ofTaskSchedulerinterface, wrapping a nativeScheduledThreadPoolExecutor.