- Compare Active Subscriptions (DB) with the current request
- Find delta
- we have the same subscription if we have the same combination of
- cmhandle AND xpath filter AND datastore
- we have the same subscription if we have the same combination of
- Create structure to hold all 'PENDING' subscriptions
- HZ map
- Update when there's overlapping
- updating the status in the HZ map from 'PENDING' for duplicated request(s)
- Find delta
A:
Wide Net → Narrow Net method
draw.io Diagram | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
B:
IMap<String, CmSubscriptionCacheObject> pendingCmSubscriptions
Map of Subscription Id and CmSubscriptionCacheObject
C:
draw.io Diagram | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|