t

akka.persistence.query.typed.scaladsl

CurrentEventsBySliceQuery

trait CurrentEventsBySliceQuery extends ReadJournal

A plugin may optionally support this query by implementing this trait.

Source
CurrentEventsBySliceQuery.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CurrentEventsBySliceQuery
  2. ReadJournal
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def currentEventsBySlices[Event](entityType: String, minSlice: Int, maxSlice: Int, offset: Offset): [EventEnvelope[Event], NotUsed]

    Same type of query as EventsBySliceQuery.eventsBySlices but the event stream is completed immediately when it reaches the end of the "result set".

    Same type of query as EventsBySliceQuery.eventsBySlices but the event stream is completed immediately when it reaches the end of the "result set". Depending on journal implementation, this may mean all events up to when the query is started, or it may include events that are persisted while the query is still streaming results. For eventually consistent stores, it may only include all events up to some point before the query is started.

  2. abstract def sliceForPersistenceId(persistenceId: String): Int
  3. abstract def sliceRanges(numberOfRanges: Int): Seq[Range]