Interface LoadEventQuery
-
- All Superinterfaces:
ReadJournal
- All Known Implementing Classes:
EventsBySliceFirehoseQuery
public interface LoadEventQuery extends ReadJournal
EventsBySliceQuery
that is using a timestamp based offset should also implement this query.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Event> java.util.concurrent.CompletionStage<EventEnvelope<Event>>
loadEnvelope(java.lang.String persistenceId, long sequenceNr)
Load a single event on demand.
-
-
-
Method Detail
-
loadEnvelope
<Event> java.util.concurrent.CompletionStage<EventEnvelope<Event>> loadEnvelope(java.lang.String persistenceId, long sequenceNr)
Load a single event on demand. TheCompletionStage
is completed with aNoSuchElementException
if the event for the givenpersistenceId
andsequenceNr
doesn't exist.
-
-