Udostępnij za pośrednictwem


Microsoft.Practices.EnterpriseLibrary.Caching.InMemory Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

 

Classes

  Class Description
Public class CacheEntry
A CacheItem for in-memory caches.
Public class CacheItemPolicyExtensions
Extension methods for CacheItemPolicy.
Public class MemoryBackedCacheBase<TCacheEntry>
Base class for caches that keep items in memory.
Public class NumberOfItemsScavengingStrategy<TCacheEntry>
An implementation of IScavengingStrategy<TCacheEntry> that bases decisions on the number of items in the cache.

Interfaces

  Interface Description
Public interface IScavengingStrategy<TCacheEntry>
This interface encapsulates the logic used to determine when a scavenging is performed and which items are removed.