4 instantiations of MemoryCacheEntry
System.Runtime.Caching (4)
System\Runtime\Caching\MemoryCache.cs (4)
416MemoryCacheEntry entry = store.AddOrGetExisting(cacheKey, new MemoryCacheEntry(key, value, absExp, slidingExp, priority, changeMonitors, removedCallback, this)); 681store.Set(cacheKey, new MemoryCacheEntry(key, value, absExp, slidingExp, priority, changeMonitors, removedCallback, this)); 723MemoryCacheEntry cacheEntry = new MemoryCacheEntry(key, 742MemoryCacheEntry sentinelCacheEntry = new MemoryCacheEntry(sentinelCacheKey.Key,
63 references to MemoryCacheEntry
System.Runtime.Caching (63)
System\Runtime\Caching\CacheExpires.cs (10)
61internal MemoryCacheEntry _cacheEntry; 490MemoryCacheEntry cacheEntry = entries[i]._cacheEntry; 504internal void AddCacheEntry(MemoryCacheEntry cacheEntry) 543private void RemoveCacheEntryNoLock(MemoryCacheEntry cacheEntry) 575internal void RemoveCacheEntry(MemoryCacheEntry cacheEntry) 583internal void UtcUpdateCacheEntry(MemoryCacheEntry cacheEntry, DateTime utcExpires) 616MemoryCacheEntry cacheEntry; 895internal void Add(MemoryCacheEntry cacheEntry) 907internal void Remove(MemoryCacheEntry cacheEntry) 916internal void UtcUpdate(MemoryCacheEntry cacheEntry, DateTime utcNewExpires)
System\Runtime\Caching\CacheUsage.cs (9)
96internal MemoryCacheEntry _cacheEntry; 477MemoryCacheEntry cacheEntry = entries[i]._cacheEntry; 520internal void AddCacheEntry(MemoryCacheEntry cacheEntry) 607internal void RemoveCacheEntry(MemoryCacheEntry cacheEntry) 634internal void UpdateCacheEntry(MemoryCacheEntry cacheEntry) 691MemoryCacheEntry cacheEntry; 848internal void Add(MemoryCacheEntry cacheEntry) 855internal void Remove(MemoryCacheEntry cacheEntry) 864internal void Update(MemoryCacheEntry cacheEntry)
System\Runtime\Caching\MemoryCache.cs (8)
416MemoryCacheEntry entry = store.AddOrGetExisting(cacheKey, new MemoryCacheEntry(key, value, absExp, slidingExp, priority, changeMonitors, removedCallback, this)); 481MemoryCacheEntry entry = GetEntry(key); 485internal MemoryCacheEntry GetEntry(string key) 524internal MemoryCacheEntry RemoveEntry(string key, MemoryCacheEntry entry, CacheEntryRemovedReason reason) 723MemoryCacheEntry cacheEntry = new MemoryCacheEntry(key, 742MemoryCacheEntry sentinelCacheEntry = new MemoryCacheEntry(sentinelCacheKey.Key, 773MemoryCacheEntry entry = RemoveEntry(key, null, reason);
System\Runtime\Caching\MemoryCacheEntry.cs (5)
37internal Tuple<MemoryCacheStore, MemoryCacheEntry> _updateSentinel; // the MemoryCacheEntry (and its associated store) of the OnUpdateSentinel for this entry, if there is one 210internal void ConfigureUpdateSentinel(MemoryCacheStore sentinelStore, MemoryCacheEntry sentinelEntry) 309Tuple<MemoryCacheStore, MemoryCacheEntry> sentinelInfo = fields._updateSentinel; 315MemoryCacheEntry sentinelEntry = sentinelInfo.Item2; 337foreach (MemoryCacheEntry e in m.Dependencies)
System\Runtime\Caching\MemoryCacheEntryChangeMonitor.cs (7)
24private List<MemoryCacheEntry> _dependencies; 35_dependencies = new List<MemoryCacheEntry>(_keys.Count); 39MemoryCacheEntry entry = cache.GetEntry(k); 55MemoryCacheEntry entry = cache.GetEntry(key); 84private void StartMonitoring(MemoryCache cache, MemoryCacheEntry entry, ref bool hasChanged, ref DateTime utcCreated) 116foreach (MemoryCacheEntry entry in _dependencies) 132internal List<MemoryCacheEntry> Dependencies { get { return _dependencies; } }
System\Runtime\Caching\MemoryCacheStore.cs (24)
50private void AddToCache(MemoryCacheEntry entry) 97private void RemoveFromCache(MemoryCacheEntry entry, CacheEntryRemovedReason reason, bool delayRelease = false) 131internal void UpdateExpAndUsage(MemoryCacheEntry entry, bool updatePerfCounters = true) 173internal MemoryCacheEntry AddOrGetExisting(MemoryCacheKey key, MemoryCacheEntry entry) 179MemoryCacheEntry existingEntry = null; 180MemoryCacheEntry toBeReleasedEntry = null; 186existingEntry = _entries[key] as MemoryCacheEntry; 234MemoryCacheEntry entry = e.Value as MemoryCacheEntry; 264MemoryCacheEntry entry = e.Value as MemoryCacheEntry; 267foreach (MemoryCacheEntry entry in entries) 275foreach (MemoryCacheEntry entry in entries) 289internal MemoryCacheEntry Get(MemoryCacheKey key) 291MemoryCacheEntry entry = _entries[key] as MemoryCacheEntry; 303internal MemoryCacheEntry Remove(MemoryCacheKey key, MemoryCacheEntry entryToRemove, CacheEntryRemovedReason reason) 305MemoryCacheEntry entry = null; 311entry = _entries[key] as MemoryCacheEntry; 332internal void Set(MemoryCacheKey key, MemoryCacheEntry entry) 338MemoryCacheEntry existingEntry = null; 344existingEntry = _entries[key] as MemoryCacheEntry;