public class ContentCache extends ConcurrentHashMap<String,CachedContent>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ContentCache() |
ContentCache(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
Object |
lookup(String key) |
Object |
lookupWithIOE(String key)
Lookup a cached item.
|
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, valuesclone, equals, hashCode, toStringpublic ContentCache(int initialCapacity)
public ContentCache()
public Object lookupWithIOE(String key) throws IOException
key - IOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.