NET Caching Library Help
FileCacheProvider Class Members
Properties  Methods 


KellermanSoftware.NetCachingLibrary.CacheProviders Namespace : FileCacheProvider Class

The following tables list the members exposed by FileCacheProvider.

Public Constructors
 NameDescription
Public Constructor The File cache constructor  
Top
Public Properties
 NameDescription
Public Property The directory where to save teh cache  
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 Gets or sets a value indicating whether this instance supports asynchronous set and remove.  
Public Property Returns true when scavenging or async save or delete is in process  
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 items to store in the cache. Must be greater than zero and less or equal to 2,147,483,647  
Public PropertyOverridden.  The maximum number of megabytes to store in the cache. Must be greater than zero.  
Public PropertyOverridden.  The name of the cache provider  
Public Property How often to check for expired items in the cache. 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 for scavenging  
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 for all regions  
Public MethodOverridden.  Clear cache items for the specified region  
Public MethodOverridden.  Check to see if an item exists in the cache  
Public MethodOverridden.  CreateCacheEntryChangeMonitor is not supported for the FileCacheProvider  
Public Method Internal delete used by AsyncProcessor  
Public MethodOverridden.  Dispose of the cache. Do not allow any items to be loaded or saved.  
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 a count of items in the passed region  
Public MethodOverridden.  Get a list of keys for the passed region.  
Public MethodOverridden.  Get a list of regions in the cache  
Public MethodOverridden.  Get the total items in the cache  
Public MethodOverridden.  Remove an item from the cache  
Public Method Internal save used by Async Processor  
Public Method Immediately expire items in the cache without waiting for the Scavenging timer.  
Public MethodOverloaded. Overridden.  Insert or update an item into the cache  
Top
Protected Methods
 NameDescription
Protected Method Deserialize an object. Also decrypt and de-compress if turned on. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Protected Method Get the Default region if null is passed in (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Protected Method Serialize an object. Also compress and encrypt if it is turned on (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Top
See Also

Reference

FileCacheProvider Class
KellermanSoftware.NetCachingLibrary.CacheProviders Namespace