class ByteArrayJournalSerializer extends FlowPersistentReprSerializer[JournalRow]
- Annotations
- @nowarn()
- Source
- ByteArrayJournalSerializer.scala
- Alphabetic
- By Inheritance
- ByteArrayJournalSerializer
- FlowPersistentReprSerializer
- PersistentReprSerializer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ByteArrayJournalSerializer(serialization: Serialization, separator: String)
Value Members
- def deserialize(journalRow: JournalRow): Try[(PersistentRepr, Set[String], Long)]
deserialize into a PersistentRepr, a set of tags and a Long representing the global ordering of events
deserialize into a PersistentRepr, a set of tags and a Long representing the global ordering of events
- Definition Classes
- ByteArrayJournalSerializer → PersistentReprSerializer
- def deserializeFlow: Flow[JournalRow, Try[(PersistentRepr, Set[String], Long)], NotUsed]
A flow which deserializes each element into a PersistentRepr, a set of tags and a Long representing the global ordering of events
A flow which deserializes each element into a PersistentRepr, a set of tags and a Long representing the global ordering of events
- Definition Classes
- FlowPersistentReprSerializer
- def serialize(persistentRepr: PersistentRepr, tags: Set[String]): Try[JournalRow]
- Definition Classes
- ByteArrayJournalSerializer → PersistentReprSerializer
- def serialize(persistentRepr: PersistentRepr): Try[JournalRow]
- Definition Classes
- PersistentReprSerializer
- def serialize(messages: Seq[AtomicWrite]): Seq[Try[Seq[JournalRow]]]
An akka.persistence.AtomicWrite contains a Sequence of events (with metadata, the PersistentRepr) that must all be persisted or all fail, what makes the operation atomic.
An akka.persistence.AtomicWrite contains a Sequence of events (with metadata, the PersistentRepr) that must all be persisted or all fail, what makes the operation atomic. The function converts each AtomicWrite to a Try[Seq[T]]. The Try denotes whether there was a problem with the AtomicWrite or not.
- Definition Classes
- PersistentReprSerializer