Show / Hide Table of Contents

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 Source

Current

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.

| Improve this Doc View Source

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 Source

MoveNextAsync()

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.

Extension Methods

AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, CancellationToken)
ExpressionBuilder.Const<T>(T)
ObjectExtensions.GetUserData<T>(T)
ObjectExtensions.IsOneOf<T>(T, IEnumerable<T>)
ObjectExtensions.IsOneOf<T>(T, T[])
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX