adarshsanjeev commented on code in PR #13263:
URL: https://github.com/apache/druid/pull/13263#discussion_r1007521415


##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/MSQWorkerTaskLauncher.java:
##########
@@ -345,6 +346,19 @@ private void runNewTasks()
     }
   }
 
+  /**
+   * Returns a pair which contains the number of currently running worker 
tasks and the number of worker tasks that are
+   * not yet fully started as left and right respectively.
+   */
+  public Pair<Integer, Integer> getWorkerTaskStatus()

Review Comment:
   I did consider that, but since it is only used in a single place, I used a 
Pair, to avoid creating a class for a single call.



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