| Modifier and Type | Method and Description |
|---|---|
void |
MapCache.clear() |
void |
Cache.clear()
Clear all entries from the cache.
|
protected abstract Cache |
AbstractCacheManager.createCache(String name)
Creates a new
Cache instance associated with the specified name. |
V |
MapCache.get(K key) |
V |
Cache.get(K key)
Returns the Cached value stored under the specified
key or
null if there is no Cache entry for that key. |
<K,V> Cache<K,V> |
CacheManager.getCache(String name)
Acquires the cache with the specified
name. |
<K,V> Cache<K,V> |
AbstractCacheManager.getCache(String name)
Returns the cache with the specified
name. |
V |
MapCache.put(K key,
V value) |
V |
Cache.put(K key,
V value)
Adds a Cache entry.
|
V |
MapCache.remove(K key) |
V |
Cache.remove(K key)
Remove the cache entry corresponding to the specified key.
|
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.