- asMap
Returns a view of the entries stored in this cache as a thread-safe map.
Modifications made to the m
- get
Returns the value associated with key in this cache, obtaining that value from
valueLoader if necess
- getIfPresent
Returns the value associated with key in this cache, or null if there is no
cached value for key.
- invalidate
Discards any cached value for key key.
- put
Associates value with key in this cache. If the cache previously contained a
value associated with k
- invalidateAll
Discards any cached values for keys keys.
- getAllPresent
Returns a map of the values associated with keys in this cache. The returned map
will only contain e
- putAll
Copies all of the mappings from the specified map to the cache. The effect of
this call is equivalen
- size
Returns the approximate number of entries in this cache.