Struct EmptyLogEntry
Represents No-OP entry.
Implements
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public readonly struct EmptyLogEntry : IRaftLogEntry, ILogEntry, IDataTransferObject, ISupplier<MemoryAllocator<byte>, MemoryOwner<byte>>, IFunctional<Func<MemoryAllocator<byte>, MemoryOwner<byte>>>
Constructors
| Edit this page View SourceEmptyLogEntry()
Represents No-OP entry.
Declaration
public EmptyLogEntry()
Properties
| Edit this page View SourceIsSnapshot
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 |
Timestamp
Gets timestamp of this log entry.
Declaration
public DateTimeOffset Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |