public class PublishCacheManager
extends Object
Manages the cache of globally active dataIds. Incoming Data and Events with Ids not in the cache will be filtered
away. Only Data and Events with active Ids will be forwarded (published) to the engine for evaluation.
This implementation design initialize the cache on each new node.
Definitions events are not propagated into the cluster as there is not a real use case for them and
it can overload the clustering traffic.
A coordinator strategy to initialize will not help either as each new node can became coordinator.
So, it is tradeoff to maintain an extra state or let each node initialize the publish* caches.
- Author:
- Jay Shaughnessy, Lucas Ponce