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

Public Member Functions

 SourceMemCachePlugin ()
 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...
 
 SourceMemCachePlugin (long maxBytes, TimeSpan usageWindow)
 
IVirtualFile GetFileIfCached (string virtualPath, System.Collections.Specialized.NameValueCollection queryString, IVirtualFile original)
 
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.Plugins.IVirtualFileCache
IVirtualFile GetFileIfCached (string virtualPath, NameValueCollection queryString, IVirtualFile original)
 Returns a cached copy of virtual file if it is cached, and if caching is desired. More...
 

Detailed Description

Definition at line 12 of file SourceMemCache.cs.

Constructor & Destructor Documentation

ImageResizer.Plugins.SourceMemCache.SourceMemCachePlugin.SourceMemCachePlugin ( )
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 17 of file SourceMemCache.cs.

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

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