类的使用
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中的方法 修饰符和类型 方法 说明 TaskExecutorRegistration
TaskExecutorRegistration. corePoolSize(int corePoolSize)
Set the core pool size of the ThreadPoolExecutor.TaskExecutorRegistration
TaskExecutorRegistration. keepAliveSeconds(int keepAliveSeconds)
Set the time limit for which threads may remain idle before being terminated.TaskExecutorRegistration
TaskExecutorRegistration. maxPoolSize(int maxPoolSize)
Set the max pool size of the ThreadPoolExecutor.TaskExecutorRegistration
TaskExecutorRegistration. queueCapacity(int queueCapacity)
Set the queue capacity for the ThreadPoolExecutor.TaskExecutorRegistration
ChannelRegistration. taskExecutor()
Configure the thread pool backing this message channel.TaskExecutorRegistration
ChannelRegistration. taskExecutor(ThreadPoolTaskExecutor taskExecutor)
Configure the thread pool backing this message channel using a custom ThreadPoolTaskExecutor.