From 0c7b951e031d60310acc7b4b1aa5052624fcfb95 Mon Sep 17 00:00:00 2001 From: jianghuazhu <740087514@qq.com> Date: Sun, 8 Aug 2021 13:55:55 +0800 Subject: [PATCH] HDFS-16151. Improve the parameter comments related to ProtobufRpcEngine2#Server(). (#3256) Co-authored-by: zhujianghua Reviewed-by: Wei-Chiu Chuang Signed-off-by: Akira Ajisaka --- .../main/java/org/apache/hadoop/ipc/ProtobufRpcEngine2.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/ProtobufRpcEngine2.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/ProtobufRpcEngine2.java index a68f18f52c..f982430970 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/ProtobufRpcEngine2.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/ProtobufRpcEngine2.java @@ -450,7 +450,11 @@ public static ProtobufRpcEngineCallback2 registerForDeferredResponse2() { * @param bindAddress the address to bind on to listen for connection * @param port the port to listen for connections on * @param numHandlers the number of method handler threads to run + * @param numReaders number of read threads + * @param queueSizePerHandler the size of the queue contained + * in each Handler * @param verbose whether each call should be logged + * @param secretManager the server-side secret manager for each token type * @param portRangeConfig A config parameter that can be used to restrict * the range of ports used when port is 0 (an ephemeral port) * @param alignmentContext provides server state info on client responses