This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class CacheManager
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class CacheManager

The type exposes the following members.

Public Constructors

  Name Description
Public method CacheManager
Initializes a new instance of the CacheManager class.

Public Methods

  Name Description
Public method Clear
Clears all entries from the cache.
Public method ContainsEntry
Determines whether an entry exists for the specified key.
Public method CreateEntry
Creates a new cache entry for writing.
Public method Dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Static member Initialize
Static initializer for the default CacheManager.
Public method Remove Overloaded.
Public method ToString (Inherited from Object.)
Public method TryGetEntryForReading Overloaded.

Protected Methods

  Name Description
Protected method Finalize
Releases unmanaged resources and performs other cleanup operations before the CacheManager is reclaimed by garbage collection.
(Overrides Object..::Finalize()()()().)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property CreationTime
Gets the creation time of the cache.
Public property Static member Current
Gets the current instance of the cache manager.
Public property EntryCount
Gets the number of cache entries contained in the cache.
Public property IsEnabled
Returns true if this instance is enabled.
Public property MaxSize
Gets or sets the maximum size of the cache in bytes.
Public property ScavengeInterval
Gets or sets the scavenge interval.
Public property UsageInfo
Gets information about the cache usage.

See Also

Advanced