NET Caching Library Help
BaseDatabaseCacheProvider Class Methods


KellermanSoftware.NetCachingLibrary.CacheProviders Namespace : BaseDatabaseCacheProvider Class

For a list of all members of this type, see BaseDatabaseCacheProvider members.

Public Methods
 NameDescription
Public MethodOverloaded.  Inserts a cache entry into the cache without overwriting any existing cache entry. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
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. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public MethodOverridden.  Clear all items in the cache. If the database can be packed, it will be packed.  
Public MethodOverridden.  Clear all items in the specified region. If the database can be packed, it will be packed.  
Public MethodOverridden.  Returns true if the cache item exists in the specified region  
Public MethodOverridden.  The database cache provider does not support Creating Entry Change Monitors  
Public Method Deletes the specified cache item by key. Used internally by the AsyncProcessor  
Public MethodOverridden.  Dispose the cache provider. Do not allow anything else to be loaded or saved in the cache.  
Public Method Wait until the passed seconds until the items are saved and removed from the cache  
Public MethodOverridden.  Get an item from the cache.  
Public MethodGets the specified cache entry from the cache as a System.Runtime.Caching.CacheItem instance. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public MethodOverridden.  Get the number of items in the passed region.  
Public MethodOverridden.  Get the cache keys for the specified region.  
Public MethodOverridden.  Get a list of regions in the cache  
Public MethodOverridden.  Get the total number of items in the cache  
Public MethodOverridden.  Remove an item from the cache  
Public Method Insert or Add a cache item internally used by the AsyncProcessor  
Public Method Perform an immediate removal of expired items from the cache without waiting on the scavenge timer.  
Public MethodOverloaded. Overridden.  Insert or update an item in the cache  
Top
Protected Methods
 NameDescription
Protected Method Calculate the cache size  
Protected Method Create the database if needed. Default is no database creation is needed.  
Protected Method Deserialize an object. Also decrypt and de-compress if turned on. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Protected Method Get the size of a cache item  
Protected Method Get the Default region if null is passed in (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Protected Method Create the database if needed. Create the cache table if it does not exist. Calculate the cache size. Start the scavenging timer.  
Protected Method Pack (eliminate free space) in the database if possible  
Protected Method Pause any asynchronous operations  
Protected Method Resume asynchronous operation  
Protected Method Serialize an object. Also compress and encrypt if it is turned on (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Top
See Also

Reference

BaseDatabaseCacheProvider Class
KellermanSoftware.NetCachingLibrary.CacheProviders Namespace