Browse Source

HDFS-16149.Improve the parameter annotation in FairCallQueue#priorityLevels. (#3255)

Co-authored-by: zhujianghua <zhujianghua@zhujianghuadeMacBook-Pro.local>
jianghuazhu 3 years ago
parent
commit
8616591b0c

+ 2 - 0
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/FairCallQueue.java

@@ -95,6 +95,8 @@ public class FairCallQueue<E extends Schedulable> extends AbstractQueue<E>
 
   /**
    * 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