Enforces a maximum size for a set/category of keys by deleting the oldest keys if the size exceeds the maximum.
The keys should be tracked by using prefixes (e.g. 'categoryName:categoryKey'
)
The prefix to use for filtering keys
The maximum size to enforce
Promise
Static
getThe singleton instance of the cache manager.
Static
hashStatic
hash
Clears all data from the cache.