NET Caching Library Help
SmartCache Class Members
Properties  Methods 


KellermanSoftware.NetCachingLibrary Namespace : SmartCache Class

The following tables list the members exposed by SmartCache.

Public Constructors
 NameDescription
Public Constructor Default Constructor  
Top
Public Properties
 NameDescription
Public Property The storage configuration for the caching  
Public Propertystatic (Shared in Visual Basic)Gets a value that indicates that a cache entry has no absolute expiration.  
Public Property Returns true when scavenging or async save or delete is in process for the Secondary Provider  
Public Propertystatic (Shared in Visual Basic)Indicates that a cache entry has no sliding expiration time.  
Public Property The primary cache for storage, normally a memory cache  
Public Property The secondary backing cache  
Public Property Throw exceptions when there is a problem loading or saving from the cache. The default is true. Exceptions may be logged.  
Top
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