Name | Description | |
---|---|---|
FileCacheProvider Constructor | The File cache constructor |
The following tables list the members exposed by FileCacheProvider.
Name | Description | |
---|---|---|
FileCacheProvider Constructor | The File cache constructor |
Name | Description | |
---|---|---|
CacheDirectory | The directory where to save teh cache | |
DefaultCacheCapabilities | Overridden. Get a list of the cache capabilities. | |
DefaultExpirationInMinutes | Gets or sets the maximum minutes for a cache item to expire. It must be greater than zero. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) | |
EncryptionKey | The Encryption Key (password) to use when encrypting data (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) | |
IsAsyncSetAndRemove | Gets or sets a value indicating whether this instance supports asynchronous set and remove. | |
IsBusy | Returns true when scavenging or async save or delete is in process | |
IsCompressed | If true, the data is compressed before it is saved and decompressed upon load. The default is false. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) | |
IsDisposed | Overridden. Gets or sets a value indicating whether this instance is disposed. | |
IsEncrypted | If true, the data is encrypted before it is saved and decrypted upon load. The default is false. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) | |
MaxCacheItems | Overridden. The maximum number of items to store in the cache. Must be greater than zero and less or equal to 2,147,483,647 | |
MaxMegabytes | Overridden. The maximum number of megabytes to store in the cache. Must be greater than zero. | |
Name | Overridden. The name of the cache provider | |
ScavengingIntervalMilliseconds | How often to check for expired items in the cache. The default is 60000 milliseconds (1 minute). | |
ScavengingTypeOption | Determines what priority to scavenge items from the cache. The default is Oldest. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) | |
ThreadName | The name of the thread that is used for scavenging |
Name | Description | |
---|---|---|
Add | Overloaded. Inserts a cache entry into the cache without overwriting any existing cache entry. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) | |
AddOrGetExisting | Overloaded. 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) | |
ClearAll | Overridden. Clear all items in the cache for all regions | |
ClearRegion | Overridden. Clear cache items for the specified region | |
Contains | Overridden. Check to see if an item exists in the cache | |
CreateCacheEntryChangeMonitor | Overridden. CreateCacheEntryChangeMonitor is not supported for the FileCacheProvider | |
Delete | Internal delete used by AsyncProcessor | |
Dispose | Overridden. Dispose of the cache. Do not allow any items to be loaded or saved. | |
Flush | Wait until the passed seconds until the items are saved and removed from the cache | |
Get<T> | Overridden. Get an item from the cache | |
GetCacheItem<T> | Gets the specified cache entry from the cache as a System.Runtime.Caching.CacheItem instance. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) | |
GetCount | Overridden. Get a count of items in the passed region | |
GetKeys | Overridden. Get a list of keys for the passed region. | |
GetRegions | Overridden. Get a list of regions in the cache | |
GetTotalCount | Overridden. Get the total items in the cache | |
Remove<T> | Overridden. Remove an item from the cache | |
Save<T> | Internal save used by Async Processor | |
Scavenge | Immediately expire items in the cache without waiting for the Scavenging timer. | |
Set | Overloaded. Overridden. Insert or update an item into the cache |
Name | Description | |
---|---|---|
Deserialize<T> | Deserialize an object. Also decrypt and de-compress if turned on. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) | |
GetRegion | Get the Default region if null is passed in (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) | |
Serialize<T> | Serialize an object. Also compress and encrypt if it is turned on (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |