Struct EmptyLogEntry
Represents No-OP entry.
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public readonly struct EmptyLogEntry : IInputLogEntry, IRaftLogEntry, ILogEntry, IDataTransferObject
Properties
View SourceContext
Gets or sets runtime context associated with the log entry.
Declaration
public object? Context { get; init; }
Property Value
| Type | Description |
|---|---|
| object |
Remarks
The value passes through AppendAsync<TEntryImpl>(TEntryImpl, CancellationToken) to ApplyAsync(LogEntry, CancellationToken). It can be retrieved by using Context property.
IsSnapshot
Gets a value indicating that this entry is a snapshot entry.
Declaration
public bool IsSnapshot { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Term
Gets or sets log entry term.
Declaration
public required long Term { get; init; }
Property Value
| Type | Description |
|---|---|
| long |