Provides access to members that control an object memoizer.
Members
Name | Description | |
---|---|---|
Add | Memoizes an object uniquely associated with the specified key. Adding more objects than allowed (as indicated by the .MaximumSize property) would cause one or more previously memoized items to be removed based on an implementation-specific eviction strategy. | |
Clear | Clears the object cache associated with the memoizer. | |
Count | The number of object currently held by the memoizer. | |
Exists | Returns TRUE if a previously memoized object associated with the specified key is found. | |
Get | Retrieves the previously memoized object associated with the specified key and increments its usage count. | |
Keys | The set of keys associated with this object memoizer. | |
MaximumSize | The maximum allowed number of objects held by the memoizer. | |
Remove | Removes the previously memoized object associated with the specified key. |
IObjectMemoizer2.Keys Property
The set of keys associated with this object memoizer.
Public ReadOnly Property Keys As IVariantArray
public IVariantArray Keys {get;}
Inherited Interfaces
Interfaces | Description |
---|---|
IObjectMemoizer | Provides access to members that control an object memoizer. |
Classes that implement IObjectMemoizer2
Classes | Description |
---|---|
ObjectMemoizer | A basic LRU-based object memoizer. |