Show / Hide Table of Contents

Class LogEntryProducer<TEntry>

Represents default implementation of ILogEntryProducer<TEntry> backed by the list of the log entries.

Inheritance
Object
LogEntryProducer<TEntry>
Implements
ILogEntryProducer<TEntry>
Namespace: DotNext.Net.Cluster.Replication
Assembly: DotNext.Net.Cluster.dll
Syntax
public sealed class LogEntryProducer<TEntry> : object, ILogEntryProducer<TEntry> where TEntry : ILogEntry
Type Parameters
Name Description
TEntry

The type of the entries supplied by this

Constructors

| Improve this Doc View Source

LogEntryProducer()

Initializes a new empty producer of the log entries.

Declaration
public LogEntryProducer()
| Improve this Doc View Source

LogEntryProducer(TEntry[])

Initializes a new producer of the log entries passed as array.

Declaration
public LogEntryProducer(params TEntry[] entries)
Parameters
Type Name Description
TEntry[] entries

The log entries to be returned by the producer.

| Improve this Doc View Source

LogEntryProducer(IList<TEntry>)

Initializes a new producer of the log entries passed as list.

Declaration
public LogEntryProducer(IList<TEntry> entries)
Parameters
Type Name Description
IList<TEntry> entries

The list of the log entries to be returned by the producer.

Methods

| Improve this Doc View Source

Reset()

Resets the position of the producer.

Declaration
public void Reset()

Explicit Interface Implementations

| Improve this Doc View Source

ILogEntryProducer<TEntry>.Current

Declaration
TEntry ILogEntryProducer<TEntry>.Current { get; }
Returns
Type Description
TEntry
| Improve this Doc View Source

ILogEntryProducer<TEntry>.MoveNextAsync()

Declaration
ValueTask<bool> ILogEntryProducer<TEntry>.MoveNextAsync()
Returns
Type Description
ValueTask<Boolean>
| Improve this Doc View Source

ILogEntryProducer<TEntry>.RemainingCount

Declaration
long ILogEntryProducer<TEntry>.RemainingCount { get; }
Returns
Type Description
Int64

Implements

ILogEntryProducer<TEntry>

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