ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Namespaces | Classes | Enumerations | Functions
Package ImageResizer.Plugins.DiskCache

Namespaces

package  Async
 
package  Cleanup
 

Classes

class  CacheResult
 
class  CleanupManager
 
class  CleanupStrategy
 
class  CleanupWorker
 
class  CleanupWorkItem
 An item in the work queue More...
 
class  CustomDiskCache
 Handles access to a disk-based file cache. Handles locking and versioning. Supports subfolders for scalability. More...
 
class  DiskCacheException
 Indicates a problem with disk caching. Causes include a missing (or too small) ImageDiskCacheDir setting, and severe I/O locking preventing the cache dir from being cleaned at all. More...
 
class  DiskCache
 Provides methods for creating, maintaining, and securing the disk cache. More...
 
class  CachedFileInfo
 
class  CachedFolder
 Represents a cached view of a folder of cached items More...
 
class  CacheIndex
 Provides thread-safe access to the index of the disk cache More...
 
class  LockProvider
 Provides locking based on a string key. Locks are local to the LockProvider instance. The class handles disposing of unused locks. Generally used for coordinating writes to files (of which there can be millions). Only keeps key/lock pairs in memory which are in use. Thread-safe. More...
 
class  UrlHasher
 
class  WebConfigWriter
 Handles writing a Web.Config to disk that uses Url Authorization to prevent visitors from accessing the files directly. Alternative Web.config content can be specified, this is a general-purpose implementation. Uses UTF-8 encoding. Also provides methods for efficient verification that the file still exists. Thread-safe. More...
 

Enumerations

enum  CacheQueryResult { CacheQueryResult.Failed, CacheQueryResult.Miss, CacheQueryResult.Hit }
 

Functions

delegate CleanupWorkItem LazyTaskProvider ()
 
delegate void CacheResultHandler (CustomDiskCache sender, CacheResult r)
 
delegate void FileDisappearedHandler (string relativePath, string physicalPath)
 
delegate void LockCallback ()
 

Enumeration Type Documentation

Enumerator
Failed 

Failed to acquire a lock on the cached item within the timeout period

Miss 

The item wasn't cached, but was successfully added to the cache (or queued, in which case you should read .Data instead of .PhysicalPath)

Hit 

The item was already in the cache.

Definition at line 8 of file CacheResult.cs.

8  {
9  /// <summary>
10  /// Failed to acquire a lock on the cached item within the timeout period
11  /// </summary>
12  Failed,
13  /// <summary>
14  /// The item wasn't cached, but was successfully added to the cache (or queued, in which case you should read .Data instead of .PhysicalPath)
15  /// </summary>
16  Miss,
17  /// <summary>
18  /// The item was already in the cache.
19  /// </summary>
20  Hit
21  }
The item was already in the cache.
The item wasn&#39;t cached, but was successfully added to the cache (or queued, in which case you should ...
Failed to acquire a lock on the cached item within the timeout period