|
|
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# |
|
|---|---|
public class CacheManager
|
|
| Visual Basic (Declaration) |
|
|---|---|
Public Class CacheManager
|
|
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
|
|
CacheManager |
Initializes a new instance of the CacheManager class.
|
Public Methods
| Name | Description | |
|---|---|---|
|
|
Clear |
Clears all entries from the cache.
|
|
|
ContainsEntry |
Determines whether an entry exists for the specified key.
|
|
|
CreateEntry |
Creates a new cache entry for writing.
|
|
|
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
|
Equals | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetType | (Inherited from Object.) |
|
|
Initialize |
Static initializer for the default CacheManager.
|
|
|
Remove | Overloaded. |
|
|
ToString | (Inherited from Object.) |
|
|
TryGetEntryForReading | Overloaded. |
Protected Methods
| Name | Description | |
|---|---|---|
|
|
Finalize |
Releases unmanaged resources and performs other cleanup operations before the
CacheManager is reclaimed by garbage collection.
(Overrides Object..::Finalize()()()().) |
|
|
MemberwiseClone | (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
|
|
CreationTime |
Gets the creation time of the cache.
|
|
|
Current |
Gets the current instance of the cache manager.
|
|
|
EntryCount |
Gets the number of cache entries contained in the cache.
|
|
|
IsEnabled |
Returns true if this instance is enabled.
|
|
|
MaxSize |
Gets or sets the maximum size of the cache in bytes.
|
|
|
ScavengeInterval |
Gets or sets the scavenge interval.
|
|
|
UsageInfo |
Gets information about the cache usage.
|
See Also
Smartsite.Tools.Caching.Angelina Namespace