Create a cache manager.
Optional
config:
Partial<CacheConfig>
The configuration for this cache manager.
Get an item from the cache.
The namespace of which this item resides in.
The key of this item.
The value, if present.
Check if an item is currently present in a namespace or not.
The namespace to check in.
The key of the item to look for.
Boolean indicating whether the namespace has the requested item or not.
Set an item's value in the cache.
The namespace of which this item resides in.
The key of this item.
The new value for this item.
Start this cache manager's sweeper.
Stop this cache manager's sweeper.
Memory based cache management.