HDFS-16151. Improve the parameter comments related to ProtobufRpcEngine2#Server(). (#3256)

Co-authored-by: zhujianghua <zhujianghua@zhujianghuadeMacBook-Pro.local>
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
jianghuazhu 2021-08-08 13:55:55 +08:00 committed by GitHub
parent 3565c9477d
commit 0c7b951e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -450,7 +450,11 @@ public class ProtobufRpcEngine2 implements RpcEngine {
* @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