This document is archived and information here might be outdated.  Recommended version.


IObjectMemoizer2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IO > IObjectMemoizer2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IObjectMemoizer2 Interface

Provides access to members that control an object memoizer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method 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.
Method Clear Clears the object cache associated with the memoizer.
Read-only property Count The number of object currently held by the memoizer.
Method Exists Returns TRUE if a previously memoized object associated with the specified key is found.
Method Get Retrieves the previously memoized object associated with the specified key and increments its usage count.
Read-only property Keys The set of keys associated with this object memoizer.
Read/write property MaximumSize The maximum allowed number of objects held by the memoizer.
Method Remove Removes the previously memoized object associated with the specified key.

Inherited Interfaces

Interfaces Description
IObjectMemoizer Provides access to members that control an object memoizer.

CoClasses that implement IObjectMemoizer2

CoClasses and Classes Description
ObjectMemoizer A basic LRU-based object memoizer.