Interface LoadEventQuery

All Superinterfaces:
ReadJournal

public interface LoadEventQuery extends ReadJournal
EventsBySliceQuery that is using a timestamp based offset should also implement this query.

API May Change

  • Method Details

    • loadEnvelope

      <Event> CompletionStage<EventEnvelope<Event>> loadEnvelope(String persistenceId, long sequenceNr)
      Load a single event on demand. The CompletionStage is completed with a NoSuchElementException if the event for the given persistenceId and sequenceNr doesn't exist.