NET Caching Library Help
BaseDatabaseCacheProvider Class Members
Fields  Properties  Methods 


KellermanSoftware.NetCachingLibrary.CacheProviders Namespace : BaseDatabaseCacheProvider Class

The following tables list the members exposed by BaseDatabaseCacheProvider.

Protected Fields
 NameDescription
Protected Field The bytes for cache item information  
Top
Public Properties
 NameDescription
Public Property The name of the cache table. The default is SmartCache  
Public PropertyOverridden.  Get a list of the cache capabilities  
Public Property Gets or sets the maximum minutes for a cache item to expire. It must be greater than zero. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public Property The Encryption Key (password) to use when encrypting data (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public Property If true, cache items will be saved and removed asynchronously  
Public Property Gets a value indicating whether this instance is busy scavenging.  
Public Property If true, the data is compressed before it is saved and decompressed upon load. The default is false. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public PropertyOverridden.  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. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public PropertyOverridden.  The maximum number of cache items to store in the cache. The default is Int32.MaxValue.  
Public PropertyOverridden.  The maximum number of megabytes for the cache. The default is 50 Megabytes.  
Public Property Gets the name of a specific cache instance. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public Property How often to check to remove expired items. The default is 60000 milliseconds (1 minute).  
Public Property Determines what priority to scavenge items from the cache. The default is Oldest. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public Property The name of the thread that is used when scavenging  
Top
Protected Properties
 NameDescription
Protected Property The connection string for the database provider  
Protected Property Provider of basic CRUD operations  
Protected Property The SQL to create the caching table  
Top
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