Packages

c

akka.persistence.jdbc.query.dao

DefaultReadJournalDao

class DefaultReadJournalDao extends ReadJournalDao with BaseJournalDaoWithReadMessages with H2Compat

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultReadJournalDao
  2. H2Compat
  3. BaseJournalDaoWithReadMessages
  4. ReadJournalDao
  5. JournalDaoWithReadMessages
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultReadJournalDao(db: slick.jdbc.JdbcBackend.Database, profile: JdbcProfile, readJournalConfig: ReadJournalConfig, serialization: Serialization)(implicit ec: ExecutionContext, mat: Materializer)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def allPersistenceIdsSource(max: Long): Source[String, NotUsed]

    Returns distinct stream of persistenceIds

    Returns distinct stream of persistenceIds

    Definition Classes
    DefaultReadJournalDaoReadJournalDao
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. def correctMaxForH2Driver(max: Long): Long
    Definition Classes
    H2Compat
  8. val db: slick.jdbc.JdbcBackend.Database
  9. implicit val ec: ExecutionContext
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def eventsByTag(tag: String, offset: Long, maxOffset: Long, max: Long): Source[Try[(PersistentRepr, Set[String], Long)], NotUsed]

    Returns a Source of deserialized data for certain tag from an offset.

    Returns a Source of deserialized data for certain tag from an offset. The result is sorted by the global ordering of the events. Each element with be a try with a PersistentRepr, set of tags, and a Long representing the global ordering of events

    Definition Classes
    DefaultReadJournalDaoReadJournalDao
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def journalSequence(offset: Long, limit: Long): Source[Long, NotUsed]

    offset

    Minimum value to retrieve

    limit

    Maximum number of values to retrieve

    returns

    A Source of journal event sequence numbers (corresponding to the Ordering column)

    Definition Classes
    DefaultReadJournalDaoReadJournalDao
  17. implicit val mat: Materializer
  18. def maxJournalSequence(): Future[Long]

    returns

    The value of the maximum (ordering) id in the journal

    Definition Classes
    DefaultReadJournalDaoReadJournalDao
  19. def messages(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long, max: Long): Source[Try[(PersistentRepr, Long)], NotUsed]

    Returns a Source of PersistentRepr and ordering number for a certain persistenceId.

    Returns a Source of PersistentRepr and ordering number for a certain persistenceId. It includes the events with sequenceNr between fromSequenceNr (inclusive) and toSequenceNr (inclusive).

    Definition Classes
    DefaultReadJournalDaoJournalDaoWithReadMessages
  20. def messagesWithBatch(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long, batchSize: Int, refreshInterval: Option[(FiniteDuration, Scheduler)]): Source[Try[(PersistentRepr, Long)], NotUsed]

    Returns a Source of PersistentRepr and ordering number for a certain persistenceId.

    Returns a Source of PersistentRepr and ordering number for a certain persistenceId. It includes the events with sequenceNr between fromSequenceNr (inclusive) and toSequenceNr (inclusive).

    Definition Classes
    BaseJournalDaoWithReadMessagesJournalDaoWithReadMessages
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  24. val profile: JdbcProfile
    Definition Classes
    DefaultReadJournalDaoH2Compat
  25. val queries: ReadJournalQueries
  26. val readJournalConfig: ReadJournalConfig
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from H2Compat

Inherited from ReadJournalDao

Inherited from AnyRef

Inherited from Any

Ungrouped