gforceee edited a comment on issue #1276: ZOOKEEPER-3497:Change MBeanRegistry 
to a standard singleton
URL: https://github.com/apache/zookeeper/pull/1276#issuecomment-595022544
 
 
   Thanks for the valuable suggestion. I Change MBeanRegistry to a standard 
singleton by using nested Inner class. I think it provides a thread-safe and 
lazy initialization singleton for MBeanRegistry, please review again.

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


With regards,
Apache Git Services

Reply via email to