Struct EmptyEntry
Represents No-OP entry.
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public struct EmptyEntry : IRaftLogEntry, Log.ILogEntry
Constructors
| Improve this Doc View SourceEmptyEntry(Int64)
Initializes a new empty log entry.
Declaration
public EmptyEntry(long term)
Parameters
Type | Name | Description |
---|---|---|
Int64 | term | The term value. |
Properties
| Improve this Doc View SourceTerm
Gets or sets log entry term.
Declaration
public long Term { get; }
Property Value
Type | Description |
---|---|
Int64 |
Timestamp
Gets timestamp of this log entry.
Declaration
public DateTimeOffset Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |