Module lru_caching

Source
Expand description

Add LRU (least recently used) caching to a given store.

Structs§

LruCachingConfig
The configuration type for the LruCachingStore.
LruCachingDatabase
A key-value database with added LRU caching.
LruCachingStore
A key-value store with added LRU caching.
StorageCacheConfig
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§

LruCachingMemoryDatabase
A memory darabase with caching.