Interface EventsByPersistenceIdStartingFromSnapshotQuery

All Superinterfaces:
ReadJournal

public interface EventsByPersistenceIdStartingFromSnapshotQuery extends ReadJournal
A plugin may optionally support this query by implementing this trait.
  • Method Details

    • eventsByPersistenceIdStartingFromSnapshot

      <Snapshot, Event> Source<EventEnvelope<Event>,NotUsed> eventsByPersistenceIdStartingFromSnapshot(String persistenceId, long fromSequenceNr, long toSequenceNr, scala.Function1<Snapshot,Event> transformSnapshot)
      Same as EventsByPersistenceIdTypedQuery but with the purpose to use snapshot as starting point and thereby reducing number of events that have to be loaded.