Databases Reference
In-Depth Information
results that come back from the server. To make sure that doesn't happen, ADOMD.NET
uses the algorithm shown in Figure 33.11.
Access to collection
Access to collection
Return the result
Send requests to fill
out cache
Yes
Cache empty
No
Check the time
since the last
request
Server
Request
MDSCHEMA_CUBES
> Auto Sync Period
No
Has time of the
last cube
update changed?
Get data from
the cache
Throw an
Exception
No
Yes
FIGURE 33.11
ADOMD.NET uses this algorithm for retrieving objects from the metadata
cache.
When client code calls a property or method on the collection, ADOMD.NET checks
whether the cache is empty. If the cache is empty, ADOMD.NET sends a Discover request
to the server, and then populates the cache. If the cache is not empty, ADOMD.NET
checks the time that has elapsed between the previous request to the server and this one.
 
Search WWH ::




Custom Search