Interface CurrentEventsByPersistenceIdQuery

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Source<EventEnvelope,​NotUsed> currentEventsByPersistenceId​(java.lang.String persistenceId, long fromSequenceNr, long toSequenceNr)
      Same type of query as pekko.persistence.query.javadsl.EventsByPersistenceIdQuery#eventsByPersistenceId but the event stream is completed immediately when it reaches the end of the "result set".
    • Method Detail

      • currentEventsByPersistenceId

        Source<EventEnvelope,​NotUsed> currentEventsByPersistenceId​(java.lang.String persistenceId,
                                                                         long fromSequenceNr,
                                                                         long toSequenceNr)
        Same type of query as pekko.persistence.query.javadsl.EventsByPersistenceIdQuery#eventsByPersistenceId but the event stream is completed immediately when it reaches the end of the "result set". Events that are stored after the query is completed are not included in the event stream.