platinumhamburg commented on code in PR #1466:
URL: https://github.com/apache/fluss/pull/1466#discussion_r2250881931


##########
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/event/CoordinatorEventManager.java:
##########
@@ -53,7 +58,10 @@ public final class CoordinatorEventManager implements 
EventManager {
     private final Lock putLock = new ReentrantLock();
 
     // metrics
-    private Histogram eventProcessingTime;
+    private final Map<Class<? extends CoordinatorEvent>, Histogram> 
eventProcessTimeByType =
+            MapUtils.newConcurrentHashMap();
+    private final Map<Class<? extends CoordinatorEvent>, Meter> 
eventEnqueueRateByType =
+            MapUtils.newConcurrentHashMap();

Review Comment:
   Thanks for your suggestion. I'll replace the `ConcurrentHashMap` with a 
`HashMap`.



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

Reply via email to