类的使用
org.springframework.messaging.simp.config.TaskExecutorRegistration
使用TaskExecutorRegistration的程序包 程序包 说明 org.springframework.messaging.simp.config Configuration support for WebSocket messaging using higher level messaging protocols.org.springframework.messaging.simp.config中TaskExecutorRegistration的使用
返回TaskExecutorRegistration的org.springframework.messaging.simp.config中的方法 修饰符和类型 方法 说明 TaskExecutorRegistrationTaskExecutorRegistration. corePoolSize(int corePoolSize)Set the core pool size of the ThreadPoolExecutor.TaskExecutorRegistrationTaskExecutorRegistration. keepAliveSeconds(int keepAliveSeconds)Set the time limit for which threads may remain idle before being terminated.TaskExecutorRegistrationTaskExecutorRegistration. maxPoolSize(int maxPoolSize)Set the max pool size of the ThreadPoolExecutor.TaskExecutorRegistrationTaskExecutorRegistration. queueCapacity(int queueCapacity)Set the queue capacity for the ThreadPoolExecutor.TaskExecutorRegistrationChannelRegistration. taskExecutor()Configure the thread pool backing this message channel.TaskExecutorRegistrationChannelRegistration. taskExecutor(ThreadPoolTaskExecutor taskExecutor)Configure the thread pool backing this message channel using a custom ThreadPoolTaskExecutor.