类的使用
org.springframework.util.CustomizableThreadCreator
使用CustomizableThreadCreator的程序包 程序包 说明 org.springframework.core.task This package defines Spring's core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.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.core.task中CustomizableThreadCreator的使用
org.springframework.core.task中CustomizableThreadCreator的子类 修饰符和类型 类 说明 classSimpleAsyncTaskExecutorTaskExecutorimplementation that fires up a new Thread for each task, executing it asynchronously.org.springframework.scheduling.concurrent中CustomizableThreadCreator的使用
org.springframework.scheduling.concurrent中CustomizableThreadCreator的子类 修饰符和类型 类 说明 classCustomizableThreadFactoryImplementation of theThreadFactoryinterface, allowing for customizing the created threads (name, priority, etc).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.