Leadtools.Medical.Caching Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.03.01
Cache Class Members
See Also  Properties  Methods  Events
Leadtools.Medical.Caching Namespace : Cache Class

The following tables list the members exposed by Cache.

Public Constructors

 NameDescription
Public Constructor Cache ConstructorOverloaded.  Creates a new instance of the Cache class.  
Top

Public Properties

 NameDescription
Public Property BytesLimit Gets or Sets the maximum size of the cache in bytes.  
Public Property Context Gets the context which the cached items belongs to.  
Public Property Count Gets the number of items stored in the cache.  
Public Property CurrentSize Gets the current size of the cache store in bytes.  
Public Property Item Gets an item from the cache.  
Public Property ItemExpireDuration Gets the duration an item remains in the cache.  
Top

Public Methods

 NameDescription
Public Method Add Adds a new item to the cache store.  
Public Method Clear Delete the contents of the cache store.  
Public Method Close Closes the Cache object and releases all associated resources.  
Public Method Contains Determines whether the cache store contains an item with the specified Id.  
Public Method Insert Inserts a new item to the cache store.  
Public Method Remove Delete an item from the Cache.  
Public Method Update Force the Cache to maintain the cache store.  
Top

Protected Methods

 NameDescription
Protected Method FinalizeOverridden.  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)  
Protected Method OnItemRemoved Raises the ItemRemoved event.  
Top

Public Events

 NameDescription
Public Event ItemRemoved Occurs when an item is removed.  
Top

See Also

Cache requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features