smiklosovic commented on code in PR #3716:
URL: https://github.com/apache/cassandra/pull/3716#discussion_r1886761438
##########
src/java/org/apache/cassandra/utils/MBeanWrapper.java:
##########
@@ -82,6 +82,19 @@ static MBeanWrapper getMBeanWrapper()
// Passing true for graceful will log exceptions instead of rethrowing them
void registerMBean(Object obj, ObjectName mbeanName, OnException
onException);
+
+ static void registerIfNotRegistered(Object obj, String mbeanName)
Review Comment:
shouldnt be this synchronized to be safe?
--
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]