Interface ILogEntryProducer<TEntry>
Represents supplier of log entries.
Namespace: DotNext.Net.Cluster.Replication
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface ILogEntryProducer<out TEntry>
where TEntry : ILogEntry
Type Parameters
| Name | Description |
|---|---|
| TEntry | The type of the supplied log entries. |
Properties
| Improve this Doc View SourceCurrent
Gets the log entry at the current position of the enumerator.
Declaration
TEntry Current { get; }
Property Value
| Type | Description |
|---|---|
| TEntry | The log entry at the current position of the enumerator. |
RemainingCount
Gets the remaining count of log entries in this object.
Declaration
long RemainingCount { get; }
Property Value
| Type | Description |
|---|---|
| Int64 | The remaining count of log entries. |
Methods
| Improve this Doc View SourceMoveNextAsync()
Advances position of the enumerator to the next available log entry.
Declaration
ValueTask<bool> MoveNextAsync()
Returns
| Type | Description |
|---|---|
| ValueTask<Boolean> | true if the enumerator advances to the next log entry; false if the enumerator reaches the end of the collection. |