Skip to content

IDurableLogCommandHandler<T>.Reset(long, long, long, int)

Reset(long, long, long, int)

abstract
public abstract void Reset(long epoch, long firstSequence, long resetSequence, int capacityHint)
Resets the receiver to a snapshot's state before applying its entries, which begin at firstSequence.

Parameters

epochlong
The identifier of the log's history, or zero when the log has no history.
firstSequencelong
The sequence number of the first retained entry.
resetSequencelong
The first sequence number after the most recent clear, or zero.
capacityHintint
The number of entries which follow.