public class ObjectCache extends MapBackedCache<String,Object> implements SolrCloseable
map| Constructor and Description | 
|---|
ObjectCache()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()  | 
void | 
close()  | 
<T> T | 
computeIfAbsent(String key,
               Class<T> clazz,
               Function<String,? extends T> mappingFunction)  | 
Object | 
get(String key)  | 
<T> T | 
get(String key,
   Class<T> clazz)  | 
boolean | 
isClosed()  | 
Object | 
put(String key,
   Object val)  | 
Object | 
remove(String key)  | 
asMap, computeIfAbsentpublic void clear()
public <T> T computeIfAbsent(String key, Class<T> clazz, Function<String,? extends T> mappingFunction)
public boolean isClosed()
isClosed in interface SolrCloseablepublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.