Class WriteJournalBase
Base class for the journal persistence
Implements
Inherited Members
Namespace: Akka.Persistence.Journal
Assembly: Akka.Persistence.dll
Syntax
public abstract class WriteJournalBase : ActorBase, IInternalActor
Constructors
| Edit this page View SourceWriteJournalBase()
TBD
Declaration
protected WriteJournalBase()
Methods
| Edit this page View SourceAdaptToJournal(IPersistentRepresentation)
Apply any registered eventadapter to the data payload
Declaration
protected IPersistentRepresentation AdaptToJournal(IPersistentRepresentation representation)
Parameters
Type | Name | Description |
---|---|---|
IPersistentRepresentation | representation |
Returns
Type | Description |
---|---|
IPersistentRepresentation |
PreparePersistentBatch(IEnumerable<IPersistentEnvelope>)
Creates a sequence of write actions to be executed based on the given messages. Applies any registered EventAdapters to the payloads.
Declaration
protected IEnumerable<AtomicWrite> PreparePersistentBatch(IEnumerable<IPersistentEnvelope> resequenceables)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IPersistentEnvelope> | resequenceables | list of messages to write |
Returns
Type | Description |
---|---|
IEnumerable<AtomicWrite> |