@Configuration
public class BeanConfig {
/** Set the ThreadPoolExecutor's core pool size. */
private int corePoolSize = 3;
/** Set the ThreadPoolExecutor's maximum pool size. */
private int maximumPoolSize = 3;
/** Set the capacity for the ThreadPoolExecutor's BlockingQ
线程池注入
最新推荐文章于 2024-03-18 16:48:16 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)