rahulrane50 commented on code in PR #2344:
URL: https://github.com/apache/helix/pull/2344#discussion_r1089317936


##########
helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ClusterStatusMonitor.java:
##########
@@ -583,6 +643,31 @@ public void updateMissingTopStateDurationStats(String 
resourceName, long totalDu
     }
   }
 
+  public void updateMissingTopStateDurationThreshold(long 
missingTopStateDurationThreshold) {
+    
_asyncMissingTopStateMonitor.setMissingTopStateDurationThreshold(missingTopStateDurationThreshold);

Review Comment:
   Answered in above comments. It's just not about in wait() state but whenever 
it's timesliced and this thread get it's timeslice it can call any 
non-synchronized methods of _asyncMissingTopStateMonitor.



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