Skip to content

LogDraftId

struct

Namespace: Orleans.Durable.Journaling

Identifies a draft of an Orleans.Durable.Journaling.IDurableLog.
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[Orleans.Alias(Orleans.Durable.Journaling.LogDraftId)]
public readonly struct LogDraftId : IEquatable<LogDraftId>

Remarks

LogDraftId identifies the log instance, and therefore the activation, which opened the draft. A reader which reconnects to a new activation can therefore learn that the draft's volatile content was lost unless the draft committed.

Constructors

Properties

  • InstanceId Gets the identifier of the log instance, and therefore the activation, which opened the draft.
  • Number Gets the draft's number within its log instance.

Methods