Class MultiGenerationMap<K,V>
java.lang.Object
org.apache.jackrabbit.oak.plugins.document.persistentCache.MultiGenerationMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addReadMap
(int generation, CacheMap<K, V> m) void
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
isEmpty()
keySet()
void
void
removeReadMap
(int generation) void
setWriteMap
(CacheMap<K, V> m) int
size()
values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
setWriteMap
-
addReadMap
-
removeReadMap
public void removeReadMap(int generation) -
put
-
get
-
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V>
-
remove
-
clear
public void clear() -
size
public int size() -
isEmpty
public boolean isEmpty() -
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V>
-
putAll
-
keySet
-
values
-
entrySet
-