jihoonson commented on a change in pull request #6657: Add 
TaskCountStatsMonitor to monitor task count stats
URL: https://github.com/apache/incubator-druid/pull/6657#discussion_r236916465
 
 

 ##########
 File path: 
indexing-service/src/main/java/org/apache/druid/indexing/overlord/TaskQueue.java
 ##########
 @@ -586,4 +602,36 @@ private void syncFromStorage()
     return rv;
   }
 
+  private Map<String, Long> getDeltaValues(Map<String, Long> total, 
Map<String, Long> prev)
+  {
+    return 
total.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, e -> 
e.getValue() - prev.getOrDefault(e.getKey(), 0L)));
 
 Review comment:
   Please check the line width. The max line is 120 
(https://github.com/apache/incubator-druid/blob/master/eclipse_formatting.xml#L96).
 Same for the below methods.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to