public interface CurrentEventsByPersistenceIdQuery extends ReadJournal
Modifier and Type | Method and Description |
---|---|
Source<EventEnvelope,NotUsed> |
currentEventsByPersistenceId(java.lang.String persistenceId,
long fromSequenceNr,
long toSequenceNr)
Same type of query as
EventsByPersistenceIdQuery.eventsByPersistenceId(java.lang.String, long, long)
but the event stream is completed immediately when it reaches the end of
the "result set". |
Source<EventEnvelope,NotUsed> currentEventsByPersistenceId(java.lang.String persistenceId, long fromSequenceNr, long toSequenceNr)
EventsByPersistenceIdQuery.eventsByPersistenceId(java.lang.String, long, long)
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.persistenceId
- (undocumented)fromSequenceNr
- (undocumented)toSequenceNr
- (undocumented)