- Enclosing class:
- CustomSubscriptionManager
protected class CustomSubscriptionManager.NodeList
extends java.lang.Object
3/28/16 - Colby: I rewrote this to avoid a deadlock when the tags being read are actually from the same system, going through the "expose configured tags" option.
Part of that is to read outside of the lock. But this means we must know that the list of nodes won't change. Instead of copy it on each exec, which will happen millions of times,
I decided to copy on modification. So, when tags are added/removed from this manager, the list is rebuilt. If the execute function is in the middle of reading, it will finish and update nodes that are potentially
no longer subscribed, which should be fine.