agresch commented on a change in pull request #3307:
URL: https://github.com/apache/storm/pull/3307#discussion_r467272493
##########
File path: storm-client/src/jvm/org/apache/storm/metrics2/WindowedMeter.java
##########
@@ -148,34 +120,27 @@ private synchronized void rotate(long value, long
timeSpent, long targetSize, lo
}
}
- /**
- * Get time counts.
- * @return a map of time window to count. Keys are "600" for last 10 mins
"10800" for the last 3 hours "86400" for the last day
- * ":all-time" for all time
- */
- public synchronized Map<String, Long> getTimeCounts() {
- return getTimeCounts(System.currentTimeMillis());
- }
-
- synchronized Map<String, Long> getTimeCounts(long now) {
+ public Map<String, Long> getTimeCounts() {
Review comment:
will update
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]