public interface LimitedHistoryConsumer
HistoryConsumer
.
Used in the context of querying history while limiting the number of changes that are loaded per HistoryEntry
.Modifier and Type | Method and Description |
---|---|
boolean |
consume(HistoryEntry entry,
int changesCount)
Consume streamed
HistoryEntry with the total number of changes associated with it. |
boolean consume(HistoryEntry entry, int changesCount)
HistoryEntry
with the total number of changes associated with it.entry
- history entry.changesCount
- total number of changes associated with entry
.
this value will differ from entry.getChanges().size()
when the query uses changes limit and the limit is
surpassed for a given entry.Copyright © 2024 Tempo Software. All Rights Reserved.