You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/09/24 14:15:44 UTC

[GitHub] [accumulo] ctubbsii edited a comment on issue #2280: SimpleTimer replacement is not a Singleton

ctubbsii edited a comment on issue #2280:
URL: https://github.com/apache/accumulo/issues/2280#issuecomment-926658633


   Thanks for the clarification, @keith-turner ; my misunderstanding was based on how/when we use the various SingletonManager modes. In case it helps others looking at this, the best way to understand what singletons are being managed is to see which SingletonService objects are registered with the SingletonManager. (`grep -Rl SingletonManager.register **/*.java`)
   (FWIW, the actual management of registered singleton services within the SingletonManager is pretty simple and elegant. It's the mode switching lifecycle stuff, and knowing that you need to enable a singleton service before you can access certain classes' static methods/fields is the tricky/complicated part for me)


-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org