Skip to content

IJournalFormat Methods

Reads and writes the physical byte format used to persist state journal entries.

CreateWriter

abstract
public abstract JournalBufferWriter CreateWriter()
Creates a writer for a new mutable journal batch.

Returns

A new journal buffer writer.

Replay(JournalBufferReader, JournalReplayContext)

abstract
public abstract void Replay(JournalBufferReader input, JournalReplayContext context)
Reads as many complete journal entries as possible from input and applies them to resolved states.

Parameters

inputJournalBufferReader
The buffered persisted journal data, including its completion state.
contextJournalReplayContext
The replay context used to resolve states and journal services.