Jaa


Cache Members

Include Protected Members
Include Inherited Members

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 Cache type exposes the following members.

Constructors

  Name Description
Public method Cache
Initialzie a new instance of a Cache class with a backing store, and scavenging policy.

Methods

  Name Description
Public method Add Overloaded.
Public method Contains
Determines if a particular key is contained in the cache.
Public method Dispose Overloaded.
Public method Equals (Inherited from Object.)
Protected method Finalize
Dispose of the backing store before garbage collection.
(Overrides Object.Finalize().)
Public method Flush
Flush the cache.
Public method GetData
Get the object from the cache for the key.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize
Initialize the cache with a scavenger.
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Overloaded.
Public method RemoveItemFromCache
Removes an item from the cache.
Public method ToString (Inherited from Object.)

Properties

  Name Description
Public property Count
Gets the count of CacheItem objects.
Public property CurrentCacheState
Gets the current cache.

See Also

Cache Class

Microsoft.Practices.EnterpriseLibrary.Caching 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.