Module tiered

Module tiered 

Source
Expand description

L1+L2 tiered cache wrapper. Tiered cache: L1 exact + L2 semantic.

Use TieredCache::lookup for the default flow, or TieredCache::lookup_with_semantic_query when the exact key and semantic query differ.

Structs§

TieredCache
Two-tier cache combining L1 (exact) and L2 (semantic).
TieredCacheHandle
Shared handle to a TieredCache.

Enums§

TieredLookupResult
Result of a tiered cache lookup.

Type Aliases§

MockTieredCachemock
Type alias for a tiered cache backed by mocks.