Package org.apache.bookkeeper.bookie
Interface EntryLogManager
- All Known Implementing Classes:
EntryLogManagerBase,EntryLogManagerForEntryLogPerLedger,EntryLogManagerForSingleEntryLog
interface EntryLogManager
-
Method Summary
Modifier and TypeMethodDescriptionlongaddEntry(long ledger, io.netty.buffer.ByteBuf entry, boolean rollLog) voidvoidclose()booleanvoidflush()voidgetCurrentLogIfPresent(long entryLogId) getDirForNextEntryLog(List<File> writableLedgerDirs) voidvoidprepareSortedLedgerStorageCheckpoint(long numBytesFlushed)
-
Method Details
-
addEntry
- Throws:
IOException
-
getCurrentLogIfPresent
-
getDirForNextEntryLog
-
checkpoint
- Throws:
IOException
-
flush
- Throws:
IOException
-
close
- Throws:
IOException
-
forceClose
void forceClose() -
prepareSortedLedgerStorageCheckpoint
- Throws:
IOException
-
prepareEntryMemTableFlush
void prepareEntryMemTableFlush() -
commitEntryMemTableFlush
- Throws:
IOException
-
createNewLogForCompaction
- Throws:
IOException
-