Interface SegmentAwarePublisherSupplier.NotificationWithLost<R>

    • Method Detail

      • isLostSegment

        default boolean isLostSegment()
        Whether this notification is for a lost segment
        Returns:
        true if a segment was lost
      • lostSegment

        default int lostSegment()
        The segment that was complete for this notification
        Returns:
        the segment
        Throws:
        IllegalStateException - if this notification contains a value or has a completed segment