Class CacheMap<K,V>
java.lang.Object
org.apache.jackrabbit.oak.plugins.document.persistentCache.CacheMap<K,V>
- Type Parameters:
K
- the key typeV
- the value type
A cache map. This map supports re-opening the store if this is needed.
Note that a failure to open the underlying store will be handled gracefully,
in that the CacheMap
can be constructed, but will not actually cache
anything. The same is true for the case where the underlying store starts to
fail and can not be re-opened.
-
Constructor Summary
ConstructorsConstructorDescriptionCacheMap
(MapFactory factory, String name, org.h2.mvstore.MVMap.Builder<K, V> builder) -
Method Summary
-
Constructor Details
-
CacheMap
-
-
Method Details
-
put
-
get
-
containsKey
-
remove
-
clear
public void clear()
-