Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

  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:


Active Subscriptions model imported from Database

SubscriptionId

cmHandle

filter

datastore

A-10ch-1p1/c1ncmp-datastore:passthrough-operational
A-10ch-1p2/c2ncmp-datastore:passthrough-operational
A-10ch-2p1/c1ncmp-datastore:passthrough-operational
A-10ch-2p2/c2ncmp-datastore:passthrough-operational

Wide Net → Narrow Net method




B:  

Reuse CmSubscriptionCacheObject model to store "PENDING" subscriptions


 IMap<String, CmSubscriptionCacheObject> pendingCmSubscriptions

Map of Subscription Id and  CmSubscriptionCacheObject


C: 


  • No labels