Package org.apache.bookkeeper.bookie
Class EntryMemTable.EntrySkipList
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentSkipListMap<EntryKey,EntryKeyValue>
org.apache.bookkeeper.bookie.EntryMemTable.EntrySkipList
- All Implemented Interfaces:
Serializable,Cloneable,ConcurrentMap<EntryKey,,EntryKeyValue> ConcurrentNavigableMap<EntryKey,,EntryKeyValue> Map<EntryKey,,EntryKeyValue> NavigableMap<EntryKey,,EntryKeyValue> SortedMap<EntryKey,EntryKeyValue>
- Enclosing class:
- EntryMemTable
Entry skip list.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final CheckpointSource.Checkpoint(package private) static final EntryMemTable.EntrySkipList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intbooleanput(EntryKey k, EntryKeyValue v) putIfAbsent(EntryKey k, EntryKeyValue v) Methods inherited from class java.util.concurrent.ConcurrentSkipListMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, getOrDefault, headMap, headMap, higherEntry, higherKey, isEmpty, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, remove, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuesMethods inherited from class java.util.AbstractMap
hashCode, putAll, toString
-
Field Details
-
cp
-
EMPTY_VALUE
-
-
Constructor Details
-
EntrySkipList
EntrySkipList(CheckpointSource.Checkpoint cp)
-
-
Method Details
-
compareTo
-
put
- Specified by:
putin interfaceMap<EntryKey,EntryKeyValue> - Overrides:
putin classConcurrentSkipListMap<EntryKey,EntryKeyValue>
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceConcurrentMap<EntryKey,EntryKeyValue> - Specified by:
putIfAbsentin interfaceMap<EntryKey,EntryKeyValue> - Overrides:
putIfAbsentin classConcurrentSkipListMap<EntryKey,EntryKeyValue>
-
equals
- Specified by:
equalsin interfaceMap<EntryKey,EntryKeyValue> - Overrides:
equalsin classConcurrentSkipListMap<EntryKey,EntryKeyValue>
-