Package org.apache.bookkeeper.bookie
Class EntryLogCompactor.CompactionScannerFactory
- java.lang.Object
-
- org.apache.bookkeeper.bookie.EntryLogCompactor.CompactionScannerFactory
-
- Enclosing class:
- EntryLogCompactor
class EntryLogCompactor.CompactionScannerFactory extends java.lang.Object
A scanner wrapper to check whether a ledger is alive in an entry log file.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<EntryLocation>
offsets
-
Constructor Summary
Constructors Constructor Description CompactionScannerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
flush()
(package private) EntryLogScanner
newScanner(EntryLogMetadata meta)
-
-
-
Field Detail
-
offsets
java.util.List<EntryLocation> offsets
-
-
Method Detail
-
newScanner
EntryLogScanner newScanner(EntryLogMetadata meta)
-
flush
void flush() throws java.io.IOException
- Throws:
java.io.IOException
-
-