Table of Contents

Namespace The.Caching

Classes

AllKey
CacheDiagnostics

Diagnostic information about cache internals, useful for tests and monitoring.

CacheKey
CachingOptions
EntityCache
ManyKey
NoneKey
OneKey
RequestOptions

Configures cache behavior and execution priority for entity queries.

SomeKey
StableHash

Utility methods for persisted cache keys.

ViewKey

Cache key for queries that apply ordering/pagination to a base query. Represents a view of the base key's data.

Structs

CacheClient<T>

Query builder for obtaining cached results.

CacheResult<TValue, TUpdate>

The result of a cache query.

Guids

Does not actually contain guids, but can be used as an equality key for a list of them.

Rows

Cached value of a multiple-result query; includes a count and possibly the IDs of specific results with subscriptions to their updates.

View

Describes a view transformation (ordering + pagination) applied to a base query. Used as part of ViewKey storage key.

ViewOrdering

Single ordering clause (OrderBy, ThenBy, OrderByDescending, ThenByDescending). Stores property name as string for serialization support.

Enums

EntrySource

Indicates the origin of a cache entry.

RequestPriority

Priority level for query execution in the entity cache. Higher priority queries can execute concurrently with and preempt lower priority queries.

ResultState

Indicates the freshness (how up-to-date it is) of a cached query result.