Class EntryMemTable

java.lang.Object
org.apache.bookkeeper.bookie.EntryMemTable
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
EntryMemTableWithParallelFlusher

public class EntryMemTable extends Object implements AutoCloseable
The EntryMemTable holds in-memory representation to the entries not-yet flushed. When asked to flush, current EntrySkipList is moved to snapshot and is cleared. We continue to serve edits out of new EntrySkipList and backing snapshot until flusher reports in that the flush succeeded. At that point we let the snapshot go.