Interface EntryLogScanner
public interface EntryLogScanner
Scan entries in a entry log file.
-
Method Summary
-
Method Details
-
accept
boolean 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.
-
process
Process an entry.- Parameters:
ledgerId- Ledger ID.offset- File offset of this entry.entry- Entry ByteBuf- Throws:
IOException
-