From 4831cd6ecbf0f3a3582c4c6e7498724646e1816c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E7=A7=B0=20Ma=20Chen?= Date: Thu, 3 Nov 2022 09:55:46 +0800 Subject: [PATCH] Supplemental code comments (#898) --- .../core/executor/DynamicThreadPool.java | 25 +- .../support/FastThreadPoolExecutor.java | 8 + .../core/executor/support/TaskQueue.java | 22 +- .../executor/support/ThreadPoolBuilder.java | 226 ++++++++++++++++-- .../support/ThreadPoolExecutorTemplate.java | 28 ++- 5 files changed, 276 insertions(+), 33 deletions(-) diff --git a/hippo4j-core/src/main/java/cn/hippo4j/core/executor/DynamicThreadPool.java b/hippo4j-core/src/main/java/cn/hippo4j/core/executor/DynamicThreadPool.java index b9a5e58f..eb6632ff 100644 --- a/hippo4j-core/src/main/java/cn/hippo4j/core/executor/DynamicThreadPool.java +++ b/hippo4j-core/src/main/java/cn/hippo4j/core/executor/DynamicThreadPool.java @@ -24,7 +24,30 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Dynamic thread pool. + * An annotation that enhances the functionality of the jdk acoustic thread pool, + * with the following list of enhancements. + * + *