Skip to content

JournalReplayContext.GetRequiredCommandCodec(string, TCodec)

GetRequiredCommandCodec(string, TCodec)

View source
public TCodec GetRequiredCommandCodec<TCodec>(string entryFormatKey, TCodec writeCommandCodec)
Gets the command codec for entryFormatKey.

Parameters

entryFormatKeystring
The journal format key for the entry being replayed.
writeCommandCodecTCodec
The command codec for the configured write journal format.

Returns

The command codec for entryFormatKey.