I was trying out the enterprise library cache for storing some of the application specific data during startup.
In my case the when ever the data is changed i get a notification from a different application server/WMI provider.
I wanted to update the cache immediately once i received this callbacks from a different application server/WMI provider.
What's the best way to do this.
I was exploring the Cache implementation and found that
value the BackgroundScheduler will determine when to expire the cache.
In my case i would like to update the cache as soon as i get a callback from the external
servers and not to wait for the BackgroundScheduler to get its turn.
Is there any way to accomplish this?. Any help is greatly appreciated.
You could implement an ICacheItemRefreshAction... see this thread, http://www.codeplex.com/entlib/Thread/View.aspx?ThreadId=17096
Global Technology & Solutions