Reputation: 4277
I have installed AppFabric on server and I want multiple instances to point to the cache. So I created named cache for each instance and pointed app to these caches.
Now I want to clear cache of a specific named cache. But I didn't found any command secific for this. All Microsoft provides is 'Restart-CacheCluster'. I cant use this option as this will clear all named cache.
Is there any way i can restart/clear specific named cache??
After using ClearRegion
On using ClearRegion method, it is not clearing all the stats, it just clears the item count. So will it harm anyway?
Upvotes: 2
Views: 3017
Reputation: 12589
See my previous answer for a method of creating a Flush
method for a cache.
Upvotes: 1