@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Documented public @interface DynamicThreadPool
If you use Server mode, you can view the thread pool operation in the built-in console.
If you use Config mode, you can observe with Prometheus and Grafana.
The annotation is normally marked on the
spring bean defined by ThreadPoolExecutor.
Can also be marked on the following types:
Executor,
ExecutorService,
ThreadPoolTaskExecutor,
com.alibaba.ttl.threadpool.ExecutorTtlWrapper,
com.alibaba.ttl.threadpool.ExecutorServiceTtlWrapperCopyright © 2022. All rights reserved.