LEADTOOLS Medical (Leadtools.Medical.Caching assembly)
LEAD Technologies, Inc

Cache Class






Members 
Represents a user context store of items.
Object Model
Cache Class
Syntax
[DefaultMemberAttribute("Item")]
public class Cache : System.IDisposable  
'Declaration
 
<DefaultMemberAttribute("Item")>
Public Class Cache 
   Implements System.IDisposable 
'Usage
 
Dim instance As Cache
function Leadtools.Medical.Caching.Cache()
[DefaultMemberAttribute("Item")]
public ref class Cache : public System.IDisposable  
Remarks

The Cache class uses an object of Leadtools.Medical.Caching.Storage.IStorageProvider to store and retrieve cached items. Use the one of the overloaded constructors to create an object of this class.

The cache store will be maintained by deleting expired items, this is decided by the ItemExpireDuration. If the cache store is full and the CurrentSize exceeded the BytesLimit and there are no items expired then items with the lowest priority System.Web.Caching.CacheItemPriority will be deleted until the cache CurrentSize is less than the BytesLimit.

To force the Cache to update and maintain the cache store call the Update method. The Cache class internally calls this method regularly and after adding or inserting new items.

For more information about implementing custom cache storage, refer to

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Cache Members
Leadtools.Medical.Caching Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.