Interface LoadEventQuery
- All Superinterfaces:
ReadJournal
- All Known Implementing Classes:
EventsBySliceFirehoseQuery
EventsBySliceQuery that is using a timestamp based offset should also implement this query.-
Method Summary
Modifier and TypeMethodDescription<Event> scala.concurrent.Future<EventEnvelope<Event>>loadEnvelope(String persistenceId, long sequenceNr) Load a single event on demand.
-
Method Details
-
loadEnvelope
<Event> scala.concurrent.Future<EventEnvelope<Event>> loadEnvelope(String persistenceId, long sequenceNr) Load a single event on demand. TheFutureis completed with aNoSuchElementExceptionif the event for the givenpersistenceIdandsequenceNrdoesn't exist.
-