Interface IInputLogEntry
Represents a custom log entry that can be passed to the log.
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IInputLogEntry : IRaftLogEntry, ILogEntry, IDataTransferObject
Properties
| Edit this page View SourceContext
Gets or sets runtime context associated with the log entry.
Declaration
object? Context { get; init; }
Property Value
Type | Description |
---|---|
object |
Remarks
The value passes through AppendAsync<TEntryImpl>(TEntryImpl, CancellationToken) to ApplyAsync(LogEntry) or ApplyAsync(LogEntry). It can be retrieved by using Context property.