Apache9 commented on code in PR #5550:
URL: https://github.com/apache/hbase/pull/5550#discussion_r1410093030


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcCall.java:
##########
@@ -132,4 +132,24 @@ public interface RpcCall extends RpcCallContext {
 
   /** Returns A short string format of this call without possibly lengthy 
params */
   String toShortString();
+
+  /**
+   * The queue type where the call is located. If {@link RWQueueRpcExecutor} 
is used, the queue type
+   * can be divided into read, write and scan.
+   */
+  static enum CallQueueType {

Review Comment:
   This is an interface for general rpc call, so I'm not sure if it is a good 
idea to expose the CallQueueType here, as it is related to RpcScheduler, and 
not all RpcSchedulers have different call queue type, and may be in the future, 
there could be RpcSchedulers even without a queue?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to