Package org.apache.bookkeeper.bookie
Interface EntryLogger.EntryLogScanner
- 
- Enclosing class:
- EntryLogger
 
 public static interface EntryLogger.EntryLogScannerScan entries in a entry log file.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(long ledgerId)Tests whether or not the entries belongs to the specified ledger should be processed.voidprocess(long ledgerId, long offset, io.netty.buffer.ByteBuf entry)Process an entry.
 
- 
- 
- 
Method Detail- 
acceptboolean accept(long ledgerId) Tests whether or not the entries belongs to the specified ledger should be processed.- Parameters:
- ledgerId- Ledger ID.
- Returns:
- true if and only the entries of the ledger should be scanned.
 
 - 
processvoid process(long ledgerId, long offset, io.netty.buffer.ByteBuf entry) throws java.io.IOExceptionProcess an entry.- Parameters:
- ledgerId- Ledger ID.
- offset- File offset of this entry.
- entry- Entry ByteBuf
- Throws:
- java.io.IOException
 
 
- 
 
-