Interface CurrentEventsByPersistenceIdTypedQuery
- All Superinterfaces:
ReadJournal
- All Known Implementing Classes:
PersistenceTestKitReadJournal
A plugin may optionally support this query by implementing this trait.
API May Change
-
Method Summary
Modifier and TypeMethodDescription<Event> Source<EventEnvelope<Event>,NotUsed> currentEventsByPersistenceIdTyped(String persistenceId, long fromSequenceNr, long toSequenceNr) Same asEventsByPersistenceIdTypedQuery.eventsByPersistenceIdTypedbut the stream is completed immediately when it reaches the end of the "current" events.
-
Method Details
-
currentEventsByPersistenceIdTyped
<Event> Source<EventEnvelope<Event>,NotUsed> currentEventsByPersistenceIdTyped(String persistenceId, long fromSequenceNr, long toSequenceNr) Same asEventsByPersistenceIdTypedQuery.eventsByPersistenceIdTypedbut the stream is completed immediately when it reaches the end of the "current" events. Events that are stored after the query is started are not included in the stream.
-