Cache Manager Interface
Defines an interface that a cache uses in order to communicate cache memory usage to a host environment.
public interface class IMemoryCacheManager
public interface IMemoryCacheManager
type IMemoryCacheManager = interface
Public Interface IMemoryCacheManager
The IMemoryCacheManager interface is implemented by host environments such as ASP.NET, and is consumed by ObjectCache implementations that must interact with the host environment to determine memory usage. Because caches often consume significant quantities of memory, the IMemoryCacheManager interface helps host environments manage memory usage.
Typically, only ObjectCache implementations that manage cache objects in memory would use this interface.
Removes all references to a cache in the host environment.
Reports the size of the current cache.