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