C D I M N T
C
- com.dtp.example - 程序包 com.dtp.example
-
- com.dtp.example.config - 程序包 com.dtp.example.config
-
- com.dtp.example.controller - 程序包 com.dtp.example.controller
-
- commonExecutor() - 类 中的方法com.dtp.example.config.ThreadPoolConfiguration
-
通过DynamicTp 注解定义普通juc线程池,会享受到该框架监控功能,注解名称优先级高于方法名
D
- dtpExecutor1() - 类 中的方法com.dtp.example.config.ThreadPoolConfiguration
-
通过ThreadPoolCreator 快速创建一些简单配置的动态线程池
tips: 建议直接在配置中心配置就行,不用@Bean声明
- dtpExecutor2() - 类 中的方法com.dtp.example.config.ThreadPoolConfiguration
-
tips: 建议直接在配置中心配置就行,不用@Bean声明
I
- ioIntensiveExecutor() - 类 中的方法com.dtp.example.config.ThreadPoolConfiguration
-
通过ThreadPoolBuilder 设置详细参数创建动态线程池(推荐方式),
ioIntensive,参考tomcat线程池设计,实现了处理io密集型任务的线程池,具体参数可以看代码注释
tips: 建议直接在配置中心配置就行,不用@Bean声明
M
- main(String[]) - 类 中的静态方法com.dtp.example.NacosCloudExampleApplication
-
N
- NacosCloudExampleApplication - com.dtp.example中的类
-
- NacosCloudExampleApplication() - 类 的构造器com.dtp.example.NacosCloudExampleApplication
-
T
- task() - 类 中的方法com.dtp.example.controller.TestController
-
- test() - 类 中的方法com.dtp.example.controller.TestController
-
- TestController - com.dtp.example.controller中的类
-
- TestController() - 类 的构造器com.dtp.example.controller.TestController
-
- ThreadPoolConfiguration - com.dtp.example.config中的类
-
- ThreadPoolConfiguration() - 类 的构造器com.dtp.example.config.ThreadPoolConfiguration
-
C D I M N T
Copyright © 2023. All rights reserved.