From 8616591b0c069919e332d29e1a0ccd704c1bf1a7 Mon Sep 17 00:00:00 2001 From: jianghuazhu <740087514@qq.com> Date: Tue, 3 Aug 2021 16:53:24 +0800 Subject: [PATCH] HDFS-16149.Improve the parameter annotation in FairCallQueue#priorityLevels. (#3255) Co-authored-by: zhujianghua --- .../src/main/java/org/apache/hadoop/ipc/FairCallQueue.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/FairCallQueue.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/FairCallQueue.java index 84614a874d..4877d061f2 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/FairCallQueue.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/FairCallQueue.java @@ -95,6 +95,8 @@ public FairCallQueue(int priorityLevels, int capacity, String ns, /** * Create a FairCallQueue. + * @param priorityLevels the total size of all multi-level queue + * priority policies * @param capacity the total size of all sub-queues * @param ns the prefix to use for configuration * @param capacityWeights the weights array for capacity allocation