package scaladsl

Type Members

  1. trait AllPersistenceIdsQuery extends ReadJournal

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

  2. trait CurrentEventsByPersistenceIdQuery extends ReadJournal

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

  3. trait CurrentEventsByTagQuery2 extends ReadJournal

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

  4. trait CurrentPersistenceIdsQuery extends ReadJournal

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

  5. trait EventsByPersistenceIdQuery extends ReadJournal

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

  6. trait EventsByTagQuery2 extends ReadJournal

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

  7. trait ReadJournal extends AnyRef

    API for reading persistent events and information derived from stored persistent events.

    API for reading persistent events and information derived from stored persistent events.

    The purpose of the API is not to enforce compatibility between different journal implementations, because the technical capabilities may be very different. The interface is very open so that different journals may implement specific queries.

    There are a few pre-defined queries that a query implementation may implement, such as EventsByPersistenceIdQuery, AllPersistenceIdsQuery and EventsByTagQuery Implementation of these queries are optional and query (journal) plugins may define their own specialized queries by implementing other methods.

    Usage:

    val journal = PersistenceQuery(system).readJournalFor[SomeCoolReadJournal](queryPluginConfigPath)
    val events = journal.query(EventsByTag("mytag", 0L))

    For Java API see akka.persistence.query.javadsl.ReadJournal.

  8. trait CurrentEventsByTagQuery extends ReadJournal

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.4.11) To be replaced by CurrentEventsByTagQuery2 from Akka 2.5

  9. trait EventsByTagQuery extends ReadJournal

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.4.11) To be replaced by EventsByTagQuery2 from Akka 2.5

Ungrouped