Class

akka.persistence.inmemory.dao

InMemoryJournalDao

Related Doc: package dao

Permalink

class InMemoryJournalDao extends JournalDao

Linear Supertypes
JournalDao, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InMemoryJournalDao
  2. JournalDao
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InMemoryJournalDao(db: ActorRef)(implicit timeout: Timeout, ec: ExecutionContext, mat: Materializer)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allPersistenceIdsSource: Source[String, NotUsed]

    Permalink

    Returns distinct stream of persistenceIds

    Returns distinct stream of persistenceIds

    Definition Classes
    InMemoryJournalDaoJournalDao
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def countJournal: Future[Int]

    Permalink

    Returns the number of rows in the journal

    Returns the number of rows in the journal

    Definition Classes
    InMemoryJournalDaoJournalDao
  8. def delete(persistenceId: String, toSequenceNr: Long): Future[Unit]

    Permalink

    Deletes all persistent messages up to toSequenceNr (inclusive) for the persistenceId

    Deletes all persistent messages up to toSequenceNr (inclusive) for the persistenceId

    Definition Classes
    InMemoryJournalDaoJournalDao
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def eventsByPersistenceIdAndTag(persistenceId: String, tag: String, offset: Long): Source[Array[Byte], NotUsed]

    Permalink

    Returns a Source of bytes for certain persistenceId/tag combination from an offset.

    Returns a Source of bytes for certain persistenceId/tag combination from an offset. The result is sorted by created time asc thus the offset is relative to the creation time

    Definition Classes
    InMemoryJournalDaoJournalDao
  12. def eventsByTag(tag: String, offset: Long): Source[Array[Byte], NotUsed]

    Permalink

    Returns a Source of bytes for certain tag from an offset.

    Returns a Source of bytes for certain tag from an offset. The result is sorted by created time asc thus the offset is relative to the creation time

    Definition Classes
    InMemoryJournalDaoJournalDao
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def highestSequenceNr(persistenceId: String, fromSequenceNr: Long): Future[Long]

    Permalink

    Returns the highest sequence number for the events that are stored for that persistenceId.

    Returns the highest sequence number for the events that are stored for that persistenceId. When no events are found for the persistenceId, 0L will be the highest sequence number

    Definition Classes
    InMemoryJournalDaoJournalDao
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def messages(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long, max: Long): Source[Array[Byte], NotUsed]

    Permalink

    Returns a Source of bytes for a certain persistenceId

    Returns a Source of bytes for a certain persistenceId

    Definition Classes
    InMemoryJournalDaoJournalDao
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def persistenceIds(queryListOfPersistenceIds: Iterable[String]): Future[Seq[String]]

    Permalink

    Returns the persistenceIds that are available on request of a query list of persistence ids

    Returns the persistenceIds that are available on request of a query list of persistence ids

    Definition Classes
    InMemoryJournalDaoJournalDao
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def writeFlow: Flow[Try[Iterable[Serialized]], Try[Iterable[Serialized]], NotUsed]

    Permalink

    Writes serialized messages

    Writes serialized messages

    Definition Classes
    InMemoryJournalDaoJournalDao
  29. def writeList(xs: Iterable[Serialized]): Future[Unit]

    Permalink

    Writes serialized messages

    Writes serialized messages

    Definition Classes
    InMemoryJournalDaoJournalDao
  30. val writeMessagesFacade: WriteMessagesFacade

    Permalink

Inherited from JournalDao

Inherited from AnyRef

Inherited from Any

Ungrouped