Package akka.persistence.typed
Class NoOpEventAdapter<E>
- java.lang.Object
-
- akka.persistence.typed.EventAdapter<E,java.lang.Object>
-
- akka.persistence.typed.NoOpEventAdapter<E>
-
public class NoOpEventAdapter<E> extends EventAdapter<E,java.lang.Object>
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description NoOpEventAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description E
fromJournal(java.lang.Object p)
Transform the event on recovery from the journal.static <E> NoOpEventAdapter<E>
instance()
java.lang.Object
toJournal(E e)
Transform event on the way to the journal
-
-
-
Method Detail
-
instance
public static <E> NoOpEventAdapter<E> instance()
-
toJournal
public java.lang.Object toJournal(E e)
Description copied from class:EventAdapter
Transform event on the way to the journal- Specified by:
toJournal
in classEventAdapter<E,java.lang.Object>
- Parameters:
e
- (undocumented)- Returns:
- (undocumented)
-
fromJournal
public E fromJournal(java.lang.Object p)
Description copied from class:EventAdapter
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.- Specified by:
fromJournal
in classEventAdapter<E,java.lang.Object>
- Parameters:
p
- (undocumented)- Returns:
- (undocumented)
-
-