Packages

c

akka.persistence.typed

EventAdapter

abstract class EventAdapter[E, P] extends AnyRef

Source
EventAdapter.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventAdapter
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EventAdapter()

Type Members

  1. type Per = P

    Type of the event to persist

Abstract Value Members

  1. abstract def fromJournal(p: Per): E

    Transform the event on recovery from the journal.

    Transform the event on recovery from the journal. Note that this is not called in any read side so will need to be applied manually when using Query.

  2. abstract def toJournal(e: E): Per

    Transform event on the way to the journal