cserwen commented on a change in pull request #3862:
URL: https://github.com/apache/rocketmq/pull/3862#discussion_r812508965
##########
File path: store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java
##########
@@ -39,6 +43,12 @@
"[<=0ms]", "[0~10ms]", "[10~50ms]", "[50~100ms]", "[100~200ms]",
"[200~500ms]", "[500ms~1s]", "[1~2s]", "[2~3s]", "[3~4s]", "[4~5s]", "[5~10s]",
"[10s~]",
};
+ //The rule to define buckets
+ private static final Map<Integer, Integer> PUT_MESSAGE_ENTIRE_TIME_BUCKETS
= new TreeMap<>();
+ //buckets
+ private TreeMap<Long/*bucket*/, AtomicLong/*times*/> buckets = new
TreeMap<>();
Review comment:
OK. I will update it.
--
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]