Package akka.persistence.typed
Class EventAdapter<E,P>
- java.lang.Object
-
- akka.persistence.typed.EventAdapter<E,P>
-
- Direct Known Subclasses:
NoOpEventAdapter
public abstract class EventAdapter<E,P> extends java.lang.Object
Type of the event to persist
-
-
Constructor Summary
Constructors Constructor Description EventAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract E
fromJournal(P p)
Transform the event on recovery from the journal.abstract P
toJournal(E e)
Transform event on the way to the journal
-