Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Compare Active Subscriptions (DB) with the current request
    1. Find delta
      • we have the same subscription if we have the same combination of 
        1. cmhandle AND xpath filter AND datastore
    2. Create structure to hold all 'PENDING' subscriptions
      1. HZ map
    3. Update when there's overlapping
      • updating the status in the HZ map from 'PENDING' for duplicated request(s)

A:

Wide Net → Narrow Net method

Compare datastores → Compare XPath Filters → Compare CMhandles


B:  

 IMap<String, CmSubscriptionCacheObject> pendingCmSubscriptions

Map of Subscription Id and  CmSubscriptionCacheObject


C: 

Upon subscription consumption → find delta → if delta not found → compare subscriptionIds on pendingCmSubscriptions map