Show / Hide Table of Contents

Interface IInputLogEntry

Represents a custom log entry that can be passed to the log.

Inherited Members
IRaftLogEntry.Term
IRaftLogEntry.CommandId
ILogEntry.IsSnapshot
IDataTransferObject.WriteToAsync<TWriter>(TWriter, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(Stream, TTransformation, bool, Memory<byte>, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(Stream, TTransformation, bool, MemoryAllocator<byte>, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(Stream, TTransformation, bool, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(PipeReader, TTransformation, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(TTransformation, CancellationToken)
IDataTransferObject.TryGetMemory(out ReadOnlyMemory<byte>)
IDataTransferObject.Empty
IDataTransferObject.IsReusable
IDataTransferObject.Length
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IInputLogEntry : IRaftLogEntry, ILogEntry, IDataTransferObject

Properties

View Source

Context

Gets or sets runtime context associated with the log entry.

Declaration
object? Context { get; init; }
Property Value
Type Description
object
Remarks

The value passes through AppendAsync<TEntryImpl>(TEntryImpl, CancellationToken) to ApplyAsync(LogEntry, CancellationToken). It can be retrieved by using Context property.

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾