Reads key from cache, creating and storing it on a miss.
Bounded as a true LRU: at limit, only the single least-recently-used entry is
evicted, and reading an existing key promotes it by re-inserting it. Exported
because the same eviction logic is useful for a consumer's own caches.
Reads
keyfromcache, creating and storing it on a miss.Bounded as a true LRU: at
limit, only the single least-recently-used entry is evicted, and reading an existing key promotes it by re-inserting it. Exported because the same eviction logic is useful for a consumer's own caches.