Package org.iq80.leveldb.impl
Class MemTable
java.lang.Object
org.iq80.leveldb.impl.MemTable
- All Implemented Interfaces:
Iterable<Map.Entry<InternalKey,,Slice>> SeekingIterable<InternalKey,Slice>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicLongprivate final ConcurrentSkipListMap<InternalKey, Slice> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
table
-
approximateMemoryUsage
-
-
Constructor Details
-
MemTable
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
approximateMemoryUsage
public long approximateMemoryUsage() -
add
-
get
-
iterator
- Specified by:
iteratorin interfaceIterable<Map.Entry<InternalKey,Slice>> - Specified by:
iteratorin interfaceSeekingIterable<InternalKey,Slice>
-