NET Caching Library Help
SmartCache Class Methods


KellermanSoftware.NetCachingLibrary Namespace : SmartCache Class

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

Public Methods
 NameDescription
Public MethodOverloaded. Inserts a cache entry into the cache without overwriting any existing cache entry. The absolute expiration will be the same for both the primary and secondary cache providers.  
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. The absolute expiration will be the same for both the primary and secondary cache providers.  
Public MethodOverloaded.  Build a cache key based on the passed parameters  
Public MethodOverloaded.  Builds the cache key with reflection so it is unique for the caller  
Public Method Clear everything in the primary and secondary cache  
Public Method Clear an item if the cache key matches a regular expression  
Public Method Clear an item if the cache key matches a wildcard pattern for the specified region  
Public MethodOverloaded.  Clear the file error log  
Public Method Clear everything for the specified region  
Public Method Returns true if the key exists in either the primary or secondary cache  
Public Method Disable all error logging  
Public Method Dispose of both primary and secondary cache providers  
Public MethodOverloaded.  Log errors to a file  
Public Method Wait until queued items are written from the secondary cache  
Public MethodOverloaded.  Gets the specified item in the cache or insert the item using the result of the service function. The default expiration for the primary and secondary cache providers are used.  
Public Method Get an item from the cache  
Public Method Gets the end of day.  
Public Method Gets the last day of the month.  
Public Method Gets the last day of the week.  
Public Method Get the keys for the primary cache for a region  
Public Method Get the number of items in the primary cache for a region  
Public Method Get a list of regions in the primary cache  
Public Method Get the keys for the secondary cache for a region  
Public Method Get the number of items in the secondary cache for a region  
Public Method Get a list of regions in the secondary cache  
Public Method Gets the total count of all items in the secondary cache  
Public Method Gets the total items in the primary cache  
Public Method Remove an item from the cache  
Public MethodOverloaded.  Set a cache value. The default expiration for the primary and secondary cache providers are used.  
Top
See Also

Reference

SmartCache Class
KellermanSoftware.NetCachingLibrary Namespace