IDurableLogCommandHandler<T>
interface
Namespace: Orleans.Durable.Journaling
Receives decoded durable log commands from a codec implementation.
public interface IDurableLogCommandHandler<T>Remarks
A draft commit command applies its items with
Orleans.Durable.Journaling.IDurableLogCommandHandler.ApplyAppend, then its outcome with Orleans.Durable.Journaling.IDurableLogCommandHandler.ApplyDraftCommit. A snapshot command applies Orleans.Durable.Journaling.IDurableLogCommandHandler.Reset, its entries, its draft commits, and then Orleans.Durable.Journaling.IDurableLogCommandHandler.ApplySeal if the log is sealed. Methods
ApplyAppend(T)Applies one appended item. An append command applies each of its items in order.ApplyClearApplies a command which discards every entry and consumes one sequence number.ApplyDraftCommit(LogDraftCommit)Applies the outcome of a committed draft, whose entries have been applied.ApplySealApplies a command which ends the log.ApplyTrimBefore(long)Applies a command which discards entries beforesequence.Reset(long, long, long, int)Resets the receiver to a snapshot's state before applying its entries, which begin atfirstSequence.
