Interface CurrentEventsByPersistenceIdStartingFromSnapshotQuery
-
- All Superinterfaces:
ReadJournal
public interface CurrentEventsByPersistenceIdStartingFromSnapshotQuery extends ReadJournal
A plugin may optionally support this query by implementing this trait.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Snapshot,Event>
Source<EventEnvelope<Event>,NotUsed>currentEventsByPersistenceIdStartingFromSnapshot(java.lang.String persistenceId, long fromSequenceNr, long toSequenceNr, java.util.function.Function<Snapshot,Event> transformSnapshot)
Same asCurrentEventsByPersistenceIdTypedQuery
but with the purpose to use snapshot as starting point and thereby reducing number of events that have to be loaded.
-
-
-
Method Detail
-
currentEventsByPersistenceIdStartingFromSnapshot
<Snapshot,Event> Source<EventEnvelope<Event>,NotUsed> currentEventsByPersistenceIdStartingFromSnapshot(java.lang.String persistenceId, long fromSequenceNr, long toSequenceNr, java.util.function.Function<Snapshot,Event> transformSnapshot)
Same asCurrentEventsByPersistenceIdTypedQuery
but with the purpose to use snapshot as starting point and thereby reducing number of events that have to be loaded.
-
-