Package io.aeron.driver
Interface LossHandler
- All Known Implementing Classes:
PublicationImage
- 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 dealing with detected loss on a message stream.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onGapDetected
(int termId, int termOffset, int length) Called when a gap in the message stream has been detected.
-
Method Details
-
onGapDetected
void onGapDetected(int termId, int termOffset, int length) Called when a gap in the message stream has been detected.- Parameters:
termId
- for the gaptermOffset
- for the beginning of the gaplength
- of the gap
-