ICache
Description
- Derived from
-
ICacheBase<TId>
- Extended by
-
LruCache sealed
Base interface for cache-like data structures with extended functionality.
This interface is based on ICacheBase, and provides additional features:
-
Loading and unloading of cache pages can be forwarded to an aggregated ICacheCallback object.
-
Cache pages can be locked (see LockPage and UnlockPage), to prevent them from being evicted.
-
Cache pages can be loaded partially (see PageLoadFlags.Partial).
Public / Methods
Fetch
Fetches a page from the cache, loading it if necessary.
When this method returns, all necessary calls to ICacheCallback.CachePageChoose and ICacheCallback.CachePageData will have been done.