Packages

t

akka.persistence.query

ReadJournalProvider

trait ReadJournalProvider extends AnyRef

A query plugin must implement a class that implements this trait. It provides the concrete implementations for the Java and Scala APIs.

A read journal plugin must provide implementations for both akka.persistence.query.scaladsl.ReadJournal and akka.persistence.query.javaadsl.ReadJournal. The plugin must implement both the scaladsl and the javadsl traits because the akka.stream.scaladsl.Source and akka.stream.javadsl.Source are different types and even though those types can easily be converted to each other it is most convenient for the end user to get access to the Java or Scala Source directly. One of the implementations can delegate to the other.

Source
ReadJournalProvider.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReadJournalProvider
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def javadslReadJournal(): ReadJournal

    The ReadJournal implementation for the Java API.

    The ReadJournal implementation for the Java API. This corresponds to the instance that is returned by PersistenceQuery#getReadJournalFor.

  2. abstract def scaladslReadJournal(): ReadJournal

    The ReadJournal implementation for the Scala API.

    The ReadJournal implementation for the Scala API. This corresponds to the instance that is returned by PersistenceQuery#readJournalFor.