class DefaultReadJournalDao extends ReadJournalDao with BaseJournalDaoWithReadMessages with H2Compat
- Alphabetic
- By Inheritance
- DefaultReadJournalDao
- H2Compat
- BaseJournalDaoWithReadMessages
- ReadJournalDao
- JournalDaoWithReadMessages
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DefaultReadJournalDao(db: slick.jdbc.JdbcBackend.Database, profile: JdbcProfile, readJournalConfig: ReadJournalConfig, serialization: Serialization)(implicit ec: ExecutionContext, mat: Materializer)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def allPersistenceIdsSource(max: Long): Source[String, NotUsed]
Returns distinct stream of persistenceIds
Returns distinct stream of persistenceIds
- Definition Classes
- DefaultReadJournalDao → ReadJournalDao
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def correctMaxForH2Driver(max: Long): Long
- Definition Classes
- H2Compat
- val db: slick.jdbc.JdbcBackend.Database
- implicit val ec: ExecutionContext
- Definition Classes
- DefaultReadJournalDao → BaseJournalDaoWithReadMessages
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- DefaultReadJournalDao → ReadJournalDao
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- DefaultReadJournalDao → ReadJournalDao
- implicit val mat: Materializer
- Definition Classes
- DefaultReadJournalDao → BaseJournalDaoWithReadMessages
- def maxJournalSequence(): Future[Long]
- returns
The value of the maximum (ordering) id in the journal
- Definition Classes
- DefaultReadJournalDao → ReadJournalDao
- 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) andtoSequenceNr
(inclusive).- Definition Classes
- DefaultReadJournalDao → JournalDaoWithReadMessages
- 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) andtoSequenceNr
(inclusive).- Definition Classes
- BaseJournalDaoWithReadMessages → JournalDaoWithReadMessages
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val profile: JdbcProfile
- Definition Classes
- DefaultReadJournalDao → H2Compat
- val queries: ReadJournalQueries
- val readJournalConfig: ReadJournalConfig
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()