ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | List of all members
ImageResizer.Plugins.MemCache.MemCachePlugin Class Reference
Inheritance diagram for ImageResizer.Plugins.MemCache.MemCachePlugin:
Inheritance graph
[legend]
Collaboration diagram for ImageResizer.Plugins.MemCache.MemCachePlugin:
Collaboration graph
[legend]

Public Member Functions

 MemCachePlugin ()
 Defaults to 10MB limit, and samples usage over the last 10 minutes when deciding what to remove. Stuff not used in the last 10 minutes gets discarded even if the limit hasn't been reached. More...
 
 MemCachePlugin (long maxBytes, TimeSpan usageWindow)
 
bool CanProcess (System.Web.HttpContext current, IResponseArgs e)
 
void Process (System.Web.HttpContext current, IResponseArgs e)
 
IPlugin Install (Configuration.Config c)
 
bool Uninstall (Configuration.Config c)
 
- Public Member Functions inherited from ImageResizer.Plugins.IPlugin
IPlugin Install (Config c)
 Installs the plugin in the specified Config instance. The plugin must handle all the work of loading settings, registering the plugin etc. More...
 
bool Uninstall (Config c)
 Uninstalls the plugin. Should reverse all changes made during Install More...
 
- Public Member Functions inherited from ImageResizer.Caching.ICache
bool CanProcess (HttpContext current, IResponseArgs e)
 Returns false if the cache is unable to process the request. If false, the caller should fall back to a different cache More...
 
void Process (HttpContext current, IResponseArgs e)
 Must update the cache if needed, then either rewrite, redirect or serve the cached data. More...
 

Detailed Description

Definition at line 12 of file MemCache.cs.

Constructor & Destructor Documentation

ImageResizer.Plugins.MemCache.MemCachePlugin.MemCachePlugin ( )
inline

Defaults to 10MB limit, and samples usage over the last 10 minutes when deciding what to remove. Stuff not used in the last 10 minutes gets discarded even if the limit hasn't been reached.

Definition at line 19 of file MemCache.cs.

19 : this(1024 * 1024 * 1024, new TimeSpan(0, 10, 0)) { }

The documentation for this class was generated from the following file: