hooks/lru library

Functions

createLRUEvictHook({required int max, int priority = 0}) PVCacheHook
Creates a hook that updates access count on put and evicts if needed.
createLRUHooks({required int max}) List<PVCacheHook>
Creates complete LRU hook set.
createLRUTrackAccessHook({int priority = 100}) PVCacheHook
Creates a hook that updates access count on get.