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:
java.io.Serializable
,java.lang.Cloneable
,java.util.concurrent.ConcurrentMap<EntryKey,EntryKeyValue>
,java.util.concurrent.ConcurrentNavigableMap<EntryKey,EntryKeyValue>
,java.util.Map<EntryKey,EntryKeyValue>
,java.util.NavigableMap<EntryKey,EntryKeyValue>
,java.util.SortedMap<EntryKey,EntryKeyValue>
- Enclosing class:
- EntryMemTable
static class EntryMemTable.EntrySkipList extends java.util.concurrent.ConcurrentSkipListMap<EntryKey,EntryKeyValue>
Entry skip list.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CheckpointSource.Checkpoint
cp
(package private) static EntryMemTable.EntrySkipList
EMPTY_VALUE
-
Constructor Summary
Constructors Constructor Description EntrySkipList(CheckpointSource.Checkpoint cp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
compareTo(CheckpointSource.Checkpoint cp)
boolean
equals(java.lang.Object o)
EntryKeyValue
put(EntryKey k, EntryKeyValue v)
EntryKeyValue
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, values
-
-
-
-
Field Detail
-
cp
final CheckpointSource.Checkpoint cp
-
EMPTY_VALUE
static final EntryMemTable.EntrySkipList EMPTY_VALUE
-
-
Constructor Detail
-
EntrySkipList
EntrySkipList(CheckpointSource.Checkpoint cp)
-
-
Method Detail
-
compareTo
int compareTo(CheckpointSource.Checkpoint cp)
-
put
public EntryKeyValue put(EntryKey k, EntryKeyValue v)
- Specified by:
put
in interfacejava.util.Map<EntryKey,EntryKeyValue>
- Overrides:
put
in classjava.util.concurrent.ConcurrentSkipListMap<EntryKey,EntryKeyValue>
-
putIfAbsent
public EntryKeyValue putIfAbsent(EntryKey k, EntryKeyValue v)
- Specified by:
putIfAbsent
in interfacejava.util.concurrent.ConcurrentMap<EntryKey,EntryKeyValue>
- Specified by:
putIfAbsent
in interfacejava.util.Map<EntryKey,EntryKeyValue>
- Overrides:
putIfAbsent
in classjava.util.concurrent.ConcurrentSkipListMap<EntryKey,EntryKeyValue>
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.util.Map<EntryKey,EntryKeyValue>
- Overrides:
equals
in classjava.util.concurrent.ConcurrentSkipListMap<EntryKey,EntryKeyValue>
-
-