public class ThumbnailCache : FileCachePublic Class ThumbnailCache
Inherits FileCache| ThumbnailCache | Initializes a new instance of the ThumbnailCache class. |
| AutoTrimInterval |
Gets or sets a value that specifies the interval to run automatic cache trimming (clean up).
Cached items older than cache's MaxAge setting will be removed when the cache is trimmed.
The default value is 15 minutes. The minimum value is 5 minutes. If the value is 0 or negative, the auto trim will be disabled. (Inherited from FileCache) |
| LocationId |
Gets the unique identifier for the location to store cached files.
(Inherited from FileCache) |
| LocationString |
Gets the string representation of location to store cached files.
(Inherited from FileCache) |
| MaxAge |
Gets or sets a value that specifies the maximum amount of time to consider a cached item fresh and keep it stored in the cache.
Cached items older than this age will be removed when the cache trimming (clean up) runs (when auto trim is run or
when cache's Trim() method is manually called).
The default value is 90 days. The minimum value is 10 minutes. (Inherited from FileCache) |
| WaitTimeout |
Gets or sets a value that specifies the maximum amount of time to wait for a cached item to be available (wait for a file lock from other threads or
processes to become available, i.e. wait for an ongoing caching of the same file to complete) before giving up on the cache request.
The default value is 5 minutes. The minimum value is 2 minutes. (Inherited from FileCache) |
| AddOrUpdate | (Inherited from FileCache) |
| Contains | (Inherited from FileCache) |
| Get | (Inherited from FileCache) |
| GetOrAdd | (Inherited from FileCache) |
| GetOrAddThumbnail | Gets or adds a thumbnail for file. |
| GetOrAddWebSafeImage | Gets or adds a web safe image for file. |
| LogEvent | (Inherited from FileCache) |
| LogGlobalEvent | (Inherited from FileCache) |
| OnMigrate |
Implement this method in a subclass to return migrations ro execute for its specific cache files.
(Overrides FileCache.OnMigrate(Version)) |
| Remove | (Inherited from FileCache) |
| Trim |
Trims the cache (cleans up the expired cache items, i.e. cached items older than MaxAge).
(Inherited from FileCache) |