类的使用
org.springframework.scheduling.concurrent.CustomizableThreadFactory
使用CustomizableThreadFactory的程序包 程序包 说明 org.springframework.scheduling.concurrent Scheduling convenience classes for thejava.util.concurrentandjavax.enterprise.concurrentpackages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context.org.springframework.scheduling.concurrent中CustomizableThreadFactory的使用
org.springframework.scheduling.concurrent中CustomizableThreadFactory的子类 修饰符和类型 类 说明 classDefaultManagedAwareThreadFactoryJNDI-based variant ofCustomizableThreadFactory, performing a default lookup for JSR-236's "java:comp/DefaultManagedThreadFactory" in a Java EE 7 environment, falling back to the localCustomizableThreadFactorysetup if not found.classExecutorConfigurationSupportBase class for setting up aExecutorService(typically aThreadPoolExecutororScheduledThreadPoolExecutor).classScheduledExecutorFactoryBeanFactoryBeanthat sets up aScheduledExecutorService(by default: aScheduledThreadPoolExecutor) and exposes it for bean references.classThreadPoolExecutorFactoryBeanJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorServicetype.classThreadPoolTaskExecutorJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor.classThreadPoolTaskSchedulerImplementation of Spring'sTaskSchedulerinterface, wrapping a nativeScheduledThreadPoolExecutor.