kaisun2000 commented on code in PR #15025:
URL: https://github.com/apache/druid/pull/15025#discussion_r1344862284


##########
processing/src/main/java/org/apache/druid/collections/BlockingPool.java:
##########
@@ -40,8 +39,14 @@ public interface BlockingPool<T>
    * Take resources from the pool, waiting if necessary until the elements of 
the given number become available.
    *
    * @param elementNum number of resources to take
-   *
    * @return a list of resource holders. An empty list is returned if {@code 
elementNum} resources aren't available.
    */
   List<ReferenceCountingResourceHolder<T>> takeBatch(int elementNum);
+
+  /**
+   * Return the count of pending queries waiting for merge buffers
+   *
+   * @return count of pending queries
+   */
+  long getPendingQueries();

Review Comment:
   updated as suggested.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to