Changed Methods |
ConcurrentMap<K, V> asMap()
|
Changed from non-abstract to abstract.
|
Returns a view of the entries stored in this cache as a thread-safe map. |
void cleanUp()
|
Changed from non-abstract to abstract.
|
Performs any pending maintenance operations needed by the cache. |
V get(K, Callable<?, extends, V>)
|
Changed from non-abstract to abstract.
|
Returns the value associated with {@code key} in this cache, obtaining that value from
{@code valueLoader} if necessary. |
ImmutableMap<K, V> getAllPresent(Iterable<?> )
|
Changed from non-abstract to abstract.
|
Returns a map of the values associated with {@code keys} in this cache. |
V getIfPresent(Object )
|
Changed from non-abstract to abstract.
|
Returns the value associated with {@code key} in this cache, or {@code null} if there is no
cached value for {@code key}. |
void invalidate(Object )
|
Changed from non-abstract to abstract.
|
Discards any cached value for key {@code key}. |
void put(K, V)
|
Changed from non-abstract to abstract.
|
Associates {@code value} with {@code key} in this cache. |
void putAll(Map<?, extends, K, ?, extends, V>)
|
Changed from non-abstract to abstract.
|
Copies all of the mappings from the specified map to the cache. |
long size()
|
Changed from non-abstract to abstract.
|
Returns the approximate number of entries in this cache. |
CacheStats stats()
|
Changed from non-abstract to abstract.
|
Returns a current snapshot of this cache's cumulative statistics. |
void invalidateAll()
|
Changed from non-abstract to abstract.
|
Discards all entries in the cache. |
void invalidateAll(Iterable<?> )
|
Changed from non-abstract to abstract.
|
Discards any cached values for keys {@code keys}. |