public final class DynamicThreadPoolPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
| 构造器和说明 |
|---|
DynamicThreadPoolPostProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ThreadPoolExecutor |
fillPoolAndRegister(DynamicThreadPoolWrapper dynamicThreadPoolWrapper)
Fill the thread pool and register.
|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
protected void |
registerAndSubscribe(DynamicThreadPoolWrapper dynamicThreadPoolWrapper)
Register and subscribe.
|
protected void |
subscribeConfig(DynamicThreadPoolWrapper dynamicThreadPoolWrapper)
Client dynamic thread pool subscription server configuration.
|
public Object postProcessBeforeInitialization(Object bean, String beanName)
postProcessBeforeInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessorpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionprotected void registerAndSubscribe(DynamicThreadPoolWrapper dynamicThreadPoolWrapper)
dynamicThreadPoolWrapper - protected ThreadPoolExecutor fillPoolAndRegister(DynamicThreadPoolWrapper dynamicThreadPoolWrapper)
dynamicThreadPoolWrapper - protected void subscribeConfig(DynamicThreadPoolWrapper dynamicThreadPoolWrapper)
dynamicThreadPoolWrapper - Copyright © 2022. All rights reserved.