程序包的使用
org.springframework.scheduling.concurrent
使用org.springframework.scheduling.concurrent的程序包 程序包 说明 org.springframework.messaging.simp.config Configuration support for WebSocket messaging using higher level messaging protocols.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.messaging.simp.config使用的org.springframework.scheduling.concurrent中的类 类 说明 ThreadPoolTaskExecutor JavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor.org.springframework.scheduling.concurrent使用的org.springframework.scheduling.concurrent中的类 类 说明 ConcurrentTaskExecutor Adapter that takes ajava.util.concurrent.Executorand exposes a SpringTaskExecutorfor it.ConcurrentTaskScheduler Adapter that takes ajava.util.concurrent.ScheduledExecutorServiceand exposes a SpringTaskSchedulerfor it.CustomizableThreadFactory Implementation of theThreadFactoryinterface, allowing for customizing the created threads (name, priority, etc).ExecutorConfigurationSupport Base class for setting up aExecutorService(typically aThreadPoolExecutororScheduledThreadPoolExecutor).ScheduledExecutorTask JavaBean that describes a scheduled executor task, consisting of theRunnableand a delay plus period.