internal void OnCacheClear(Object sender, ClearCacheEventArgs cacheEventArgs) { LogAction(CacheAction.ClearCache, CacheObjType.EmptyElement); //NB: The order of these operations is important to maintaining //a no-read-lock-required operation. We need to take a lock in case there is //a thread in the insert code at the time that we update this. lock (this) { m_numItems = 0; m_cache = null; } }
internal void OnCacheClear(object sender, ClearCacheEventArgs cacheEventArgs) { this.m_cachedData = null; }
internal void OnCacheClear(Object sender, ClearCacheEventArgs cacheEventArgs) { m_cachedData = null; }
internal void OnCacheClear(object sender, ClearCacheEventArgs cacheEventArgs);