Class ReceiverPagination.RangeFinder
java.lang.Object
io.debezium.ibmi.db2.journal.retrieve.ReceiverPagination.RangeFinder
- Enclosing class:
- ReceiverPagination
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate DetailedJournalReceiverprivate BigIntegerprivate final JournalProcessedPosition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendRange()next(DetailedJournalReceiver nextReceiver) private Optional<PositionRange>rangeWithinCurrentPosition(DetailedJournalReceiver nextReceiver, BigInteger currentOffset) private booleanboolean
-
Field Details
-
found
private boolean found -
lastReceiver
-
remaining
-
startPosition
-
-
Constructor Details
-
RangeFinder
RangeFinder(JournalProcessedPosition startPosition, BigInteger maxEntries)
-
-
Method Details
-
next
-
rangeWithinCurrentPosition
private Optional<PositionRange> rangeWithinCurrentPosition(DetailedJournalReceiver nextReceiver, BigInteger currentOffset) -
endRange
-
startFound
public boolean startFound() -
startEqualsEndAndProcessed
private boolean startEqualsEndAndProcessed(JournalProcessedPosition start, DetailedJournalReceiver last)
-