NET Caching Library Help
BaseCacheProvider Class Members
Fields  Properties  Methods 


KellermanSoftware.NetCachingLibrary.CacheProviders Namespace : BaseCacheProvider Class

The following tables list the members exposed by BaseCacheProvider.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic) Gets a value that indicates that a cache entry has no absolute expiration.  
Public Field Bytes in a megabyte  
Public Fieldstatic (Shared in Visual Basic) Indicates that a cache entry has no sliding expiration time.  
Top
Public Properties
 NameDescription
Public Property Gets a description of the features that a cache implementation provides.  
Public Property Gets or sets the maximum minutes for a cache item to expire. It must be greater than zero.  
Public Property The Encryption Key (password) to use when encrypting data  
Public Property If true, the data is compressed before it is saved and decompressed upon load. The default is false.  
Public Property Gets or sets a value indicating whether this instance is disposed.  
Public Property If true, the data is encrypted before it is saved and decrypted upon load. The default is false.  
Public Property Get or set the maximim number of cache items for the cache provider  
Public Property Get or set the maximim size in Megabytes for the cache provider  
Public Property Gets the name of a specific cache instance.  
Public Property Determines what priority to scavenge items from the cache. The default is Oldest.  
Top
Public Methods
 NameDescription
Public MethodOverloaded.  Inserts a cache entry into the cache without overwriting any existing cache entry.  
Public MethodOverloaded.  Inserts a cache entry into the cache, by using a key, an object for the cache entry, an absolute expiration value, and an optional region to add the cache into.  
Public Method Clear all the cache for all regions  
Public Method Clear all the cache for a region  
Public Method Check whether the cache entry already exists in the cache.  
Public MethodCreate a System.Runtime.Caching.CacheEntryChangeMonitor object that can trigger events in response to changes to specified cache entries.  
Public Method Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  
Public Method Gets the specified cache entry from the cache as an object.  
Public MethodGets the specified cache entry from the cache as a System.Runtime.Caching.CacheItem instance.  
Public Method Gets the total number of cache entries in the cache.  
Public Method Get a list of the Keys associated with the region.  
Public Method Get a list of the current regions  
Public Method Get the count of all the items in all the regions  
Public Method Removes the cache entry from the cache.  
Public MethodOverloaded. Inserts or update the cache entry in the cache as a System.Runtime.Caching.CacheItem instance, specifying information about how the entry will be evicted.  
Top
Protected Methods
 NameDescription
Protected Method Deserialize an object. Also decrypt and de-compress if turned on.  
Protected Method Get the Default region if null is passed in  
Protected Method Serialize an object. Also compress and encrypt if it is turned on  
Top
See Also

Reference

BaseCacheProvider Class
KellermanSoftware.NetCachingLibrary.CacheProviders Namespace