Microsoft.Practices.EnterpriseLibrary.Caching Namespace

Classes

Class Description
Ee779142.pubclass(en-us,PandP.50).gif BackgroundScheduler
Represents a cache scavenger that runs on a background thread.
Ee779142.pubclass(en-us,PandP.50).gif Cache
The real worker of the block. The Cache class is the traffic cop that prevents resource contention among the different threads in the system. It also will act as the remoting gateway when that feature is added to the cache.
Ee779142.pubclass(en-us,PandP.50).gif CacheCapacityScavengingPolicy
Cache scavenging policy based on capacity.
Ee779142.pubclass(en-us,PandP.50).gif CacheFactory
Static factory class used to get instances of a specified CacheManager
Ee779142.pubclass(en-us,PandP.50).gif CacheItem
This class contains all data important to define an item stored in the cache. It holds both the key and value specified by the user, as well as housekeeping information used internally by this block. It is public, rather than internal, to allow block extenders access to it inside their own implementations of IBackingStore.
Ee779142.pubclass(en-us,PandP.50).gif CacheManager
This class represents the interface to caching as shown to the user. All caching operations are performed through this class.
Ee779142.pubclass(en-us,PandP.50).gif CacheManagerFactory
Factory for CacheManagers. This class is responsible for creating all the internal classes needed to implement a CacheManager.
Ee779142.pubclass(en-us,PandP.50).gif ExpirationPollTimer
Represents an expiration poll timer.
Ee779142.pubclass(en-us,PandP.50).gif ExpirationTask
Represents a task to perform expiration on cached items.
Ee779142.pubclass(en-us,PandP.50).gif PriorityDateComparer
Sorts the cache items in data for scavenging
Ee779142.pubclass(en-us,PandP.50).gif RefreshActionInvoker
Purpose of this class is to encapsulate the behavior of how ICacheItemRefreshActions are invoked in the background.
Ee779142.pubclass(en-us,PandP.50).gif ScavengerTask
Represents the task to start scavenging items in a CacheManager.
Ee779142.pubclass(en-us,PandP.50).gif SerializationUtility
Utility class for serializing and deserializing objects to and from byte streams

Interfaces

Interface Description
Ee779142.pubinterface(en-us,PandP.50).gif IBackingStore
This interface defines the contract that must be implemented by all backing stores. Implementors of this method are responsible for interacting with their underlying persistence mechanisms to store and retrieve CacheItems. All methods below must guarantee Weak Exception Safety. This means that operations must complete entirely, or they must completely clean up from the failure and leave the cache in a consistent state. The mandatory cleanup process will remove all traces of the item that caused the failure, causing that item to be expunged from the cache entirely.
Ee779142.pubinterface(en-us,PandP.50).gif ICacheItemExpiration
Allows end users to implement their own cache item expiration schema.
Ee779142.pubinterface(en-us,PandP.50).gif ICacheItemRefreshAction
This interface defines the contract that must be implemented to create an object that can be used to refresh an expired item from the cache. The implementing class must be serializable. Care must be taken when implementing this interface not to create an object that maintains too much state about its environment, as all portions of its environment will be serialized as well, creating possibly a huge object graph.
Ee779142.pubinterface(en-us,PandP.50).gif ICacheManager
This interface defines the contract that must be implemented by all cache managers.
Ee779142.pubinterface(en-us,PandP.50).gif ICacheOperations
Represents cache operations.
Ee779142.pubinterface(en-us,PandP.50).gif ICacheScavenger
Represents a cache scavenger.

Enumerations

Enumeration Description
Ee779142.pubenumeration(en-us,PandP.50).gif CacheItemPriority
Specifies the item priority levels.
Ee779142.pubenumeration(en-us,PandP.50).gif CacheItemRemovedReason
The reason that the cache item was removed.