类的使用
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
使用ThreadPoolTaskExecutor的程序包 程序包 说明 org.springframework.messaging.simp.config Configuration support for WebSocket messaging using higher level messaging protocols.org.springframework.messaging.simp.config中ThreadPoolTaskExecutor的使用
返回ThreadPoolTaskExecutor的org.springframework.messaging.simp.config中的方法 修饰符和类型 方法 说明 protected ThreadPoolTaskExecutorTaskExecutorRegistration. getTaskExecutor()参数类型为ThreadPoolTaskExecutor的org.springframework.messaging.simp.config中的方法 修饰符和类型 方法 说明 TaskExecutorRegistrationChannelRegistration. taskExecutor(ThreadPoolTaskExecutor taskExecutor)Configure the thread pool backing this message channel using a custom ThreadPoolTaskExecutor.参数类型为ThreadPoolTaskExecutor的org.springframework.messaging.simp.config中的构造器 构造器 说明 TaskExecutorRegistration(ThreadPoolTaskExecutor taskExecutor)Create a newTaskExecutorRegistrationfor a givenThreadPoolTaskExecutor.