Package org.apache.solr.common.util
Interface Cache<K,V>
-
- All Known Implementing Classes:
MapBackedCache
,ObjectCache
public interface Cache<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
clear()
default V
computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
V
get(K key)
V
put(K key, V val)
V
remove(K key)
-