Namespace AutoIndexCache
Classes
- AutoIndexCache
A thread-safe cache that automatically indexes cached items.
- DuplicateKeyException
Thrown when multiple cache items have the same key for a unique index.
- ItemsListNotFilledYetException
Thrown when an attempt was made to access the items in a ItemsList<TItem> when the list has not been filled with items yet.
- ItemsList<TItem>
A list of cached items of the type
TItem
. Allows to access the cache items of that type, to access unique and non-unique indexes for that type.
- NonUniqueIndex<TItem, TKey>
A non-unique index for cached items of the type
TItem
.
- UniqueIndex<TItem, TKey>
A unique index for cached items of the type
TItem
.
Interfaces
- IAutoIndexCache
Represents a thread-safe cache that automatically indexes cached items.
- IItemsList<TItem>
Represents a list of cached items of the type
TItem
. Allows to access the cache items of that type, to access unique and non-unique indexes for that type.
- INonUniqueIndex<TItem, TKey>
Represents a non-unique index for cached items of the type
TItem
.
- IUniqueIndex<TItem, TKey>
Represents a unique index for cached items of the type
TItem
.