Packages

  • package root
    Definition Classes
    root
  • package akka
    Definition Classes
    root
  • package persistence
    Definition Classes
    akka
  • package journal
    Definition Classes
    persistence
  • package redis
    Definition Classes
    journal
  • class RedisJournal extends AsyncWriteJournal

    Stores events inside a redis database.

    Stores events inside a redis database.

    For each persistence id persistenceId, it creates two keys:

    • journal:persisted:persistenceId contains a sorted set of events (sorted by sequence number)
    • journal:persisted:persistenceId:highestSequenceNr contains the highest sequence number

    For each tag t, it creates a key journal:tag:t which contains the ordered list of pair (sequenceNr, persistenceId). Order in this list is the order in which events with the given tag t were recorded.

    It also maintains following keys:

    • journal:persistenceIds which is a set of persistence identifiers.
    • journal:tags which is the set of all tags.

    Using the redis PubSub mechanism, this journal notifies whoever is interested on following channels:

    • journal:channel:ids any new persisted identifier is published
    • journal:channel:persisted:<id> anytime a new event is appended to a persistence id <id>, the sequenceNr is published
    • journal:channel:tags anytime a new event is appended to a tag, the tag name is published
    Definition Classes
    redis
  • longFormatter

implicit object longFormatter extends ByteStringDeserializer[Long]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. longFormatter
  2. ByteStringDeserializer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  6. def deserialize(bs: ByteString): Long
    Definition Classes
    longFormatter → ByteStringDeserializer
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def map[A](f: (Long) ⇒ A): ByteStringDeserializer[A]
    Definition Classes
    ByteStringDeserializer
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from ByteStringDeserializer[Long]

Inherited from AnyRef

Inherited from Any

Ungrouped