Class QueueCacher<TData>
- Namespace
- Hi.Common.QueueCacheUtils
- Assembly
- HiGeom.dll
This cacher suits scattered IO with repeatity.
public class QueueCacher<TData> where TData : class
Type Parameters
TData
The type of data to cache
- Inheritance
-
QueueCacher<TData>
- Inherited Members
- Extension Methods
Constructors
QueueCacher(QueueCacherHost<TData>)
Initializes a new instance of the QueueCacher class with the specified host.
public QueueCacher(QueueCacherHost<TData> host)
Parameters
host
QueueCacherHost<TData>The host that manages this cacher
Properties
Cache
Gets the cached data, loading it if necessary and managing the cache queue.
public TData Cache { get; }
Property Value
- TData