- 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.
- evictAll
Clear the cache, calling #entryRemoved on each removed entry.
- <init>
- remove
Removes the entry for key if it exists.
- size
For caches that do not override #sizeOf, this returns the number of entries in
the cache. For all ot
- snapshot
Returns a copy of the current contents of the cache, ordered from least recently
accessed to most re
- entryRemoved
Called for entries that have been evicted or removed. This method is invoked
when a value is evicted
- trimToSize
- hitCount
Returns the number of times #get returned a value.
- maxSize
For caches that do not override #sizeOf, this returns the maximum number of
entries in the cache. Fo
- missCount
Returns the number of times #get returned null or required a new value to be
created.