Package io.aeron.logbuffer
Interface TermGapScanner.GapHandler
- All Known Implementing Classes:
LossDetector
- Enclosing class:
- TermGapScanner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handler for notifying of gaps in the log.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonGap(int termId, int offset, int length) Gap detected in log buffer that is being rebuilt.
-
Method Details
-
onGap
void onGap(int termId, int offset, int length) Gap detected in log buffer that is being rebuilt.- Parameters:
termId- active term being scanned.offset- at which the gap begins.length- of the gap in bytes.
-