类的使用
cn.taketoday.scheduling.concurrent.CustomizableThreadFactory
程序包
说明
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中CustomizableThreadFactory的使用
修饰符和类型类说明classJNDI-based variant ofCustomizableThreadFactory, performing a default lookup for JSR-236's "java:comp/DefaultManagedThreadFactory" in a Jakarta EE environment, falling back to the localCustomizableThreadFactorysetup if not found.classBase class for setting up aExecutorService(typically aThreadPoolExecutororScheduledThreadPoolExecutor).classFactoryBeanthat sets up aScheduledExecutorService(by default: aScheduledThreadPoolExecutor) and exposes it for bean references.classJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorServicetype.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.