NET Caching Library Help
SqlServerCacheProvider Class Methods


KellermanSoftware.NetCachingLibrary.CacheProviders Namespace : SqlServerCacheProvider Class

For a list of all members of this type, see SqlServerCacheProvider 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 Method Clear all items in the cache. If the database can be packed, it will be packed. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Clear all items in the specified region. If the database can be packed, it will be packed. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Returns true if the cache item exists in the specified region (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method The database cache provider does not support Creating Entry Change Monitors (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Deletes the specified cache item by key. Used internally by the AsyncProcessor (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Dispose the cache provider. Do not allow anything else to be loaded or saved in the cache. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Wait until the passed seconds until the items are saved and removed from the cache (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Get an item from the cache. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public MethodGets the specified cache entry from the cache as a System.Runtime.Caching.CacheItem instance. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public Method Get the number of items in the passed region. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Get the cache keys for the specified region. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Get a list of regions in the cache (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Get the total number of items in the cache (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Remove an item from the cache (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Insert or Add a cache item internally used by the AsyncProcessor (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public Method Perform an immediate removal of expired items from the cache without waiting on the scavenge timer. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Public MethodOverloaded.  Insert or update an item in the cache (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Top
Protected Methods
 NameDescription
Protected Method Calculate the cache size (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Protected MethodOverridden.  The SQL Server database needs to exist for the cache to be used  
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 (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
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. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Protected MethodOverridden.  No pack is possible for SQL Server  
Protected Method Pause any asynchronous operations (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Protected Method Resume asynchronous operation (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseDatabaseCacheProvider)
Protected Method Serialize an object. Also compress and encrypt if it is turned on (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Top
See Also

Reference

SqlServerCacheProvider Class
KellermanSoftware.NetCachingLibrary.CacheProviders Namespace
BaseDatabaseCacheProvider Class