Skip to content

JsonLinesJournalFormat Methods

Encodes journal entries as UTF-8 JSON Lines and replays complete records in order.

CreateWriter

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

Returns

A new journal buffer writer.

Replay(JournalBufferReader, JournalReplayContext)

View source
public 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.