Skip to content

LogEventKind

enum

Namespace: Orleans.Durable.Journaling

Identifies the kind of a Orleans.Durable.Journaling.LogEvent.
[Orleans.GenerateSerializer]
[Orleans.Alias(Orleans.Durable.Journaling.LogEventKind)]
public enum LogEventKind

Fields

NameValueDescription
Entry0Item is the entry with sequence number Sequence.
Reset1The entries which the reader observed were replaced, because Clear discarded them, the journal was deleted, the reader resumed from another epoch's history, or the reader's position follows the end of the log. Discard any entries read before this event. The stream continues from Sequence, the first retained entry of the history identified by Epoch.
DraftItem2Item is the volatile item at position Sequence of draft DraftId. Position zero begins the draft's content.
DraftCommitted3Draft DraftId closed, and its content is replaced by the Count entries which begin at sequence number Sequence. Discard its items. A count of zero means that the draft closed cleanly without entries.
DraftAbandoned4Draft DraftId closed without entries for the reason in AbandonReason. Discard its items.
Trimmed5TrimBefore discarded the entries before Sequence, the new first retained entry. Entries read from that sequence onward remain valid. A reader positioned before it continues from it.
CaughtUp6The stream has delivered every entry which was committed when the read began. Sequence is the reader's position. The stream delivers this event once.
Sealed7Seal ended the log, whose entries end before Sequence. This is the stream's final event.