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.

@FunctionalInterface public interface LossHandler
Handler for dealing with detected loss on a message stream.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 gap
      termOffset - for the beginning of the gap
      length - of the gap