Expand description
Add LRU (least recently used) caching to a given store.
Structs§
- LruCaching
Config - The configuration type for the
LruCachingStore
. - LruCaching
Store - We take a store, a maximum size and build a LRU-based system.
- Storage
Cache Config - The parametrization of the cache
Constants§
- DEFAULT_
STORAGE_ CACHE_ CONFIG - The maximum number of entries in the cache. If the number of entries in the cache is too large then the underlying maps become the limiting factor
Type Aliases§
- LruCaching
Memory Store - A memory store with caching.