historyBackward

protected abstract Iterator<AggregateEventRecord> historyBackward(AggregateReadRequest<I> request)

Creates iterator of aggregate event history with the reverse traversal.

Records are sorted by timestamp descending (from newer to older). The iterator is empty if there's no history for the aggregate with passed ID.

Return

new iterator instance

Parameters

request

the read request