- entryRemoved
Called for entries that have been evicted or removed. This method is invoked
when a value is evicted
- evictAll
Clear the cache, calling #entryRemoved on each removed entry.
- get
Returns the value for key if it exists in the cache or can be created by
#create. If a value was ret
- put
Caches value for key. The value is moved to the head of the queue.
- remove
Removes the entry for key if it exists.
- safeSizeOf
- sizeOf
Returns the size of the entry for key and value in user-defined units. The
default implementation re
- snapshot
Returns a copy of the current contents of the cache, ordered from least recently
accessed to most re
- trimToSize
Remove the eldest entries until the total of remaining entries is at or below
the requested size.