value type
key type (string
by default)
Number of maximum records in the cache
Queue object
Cache object
Returns an iterator by the cache keys
Sets a new capacity of the cache. The method returns a map of truncated elements that the cache can't fit anymore.
Implementation for an in-memory data structure with support for limiting of values in the cache