Show / Hide Table of Contents

Interface ISnapshot

Represents persistent log entry maintained by the WriteAheadLog.

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.StateMachine
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface ISnapshot : IRaftLogEntry, ILogEntry, IDataTransferObject
Remarks

This interface is not supposed to be implemented by the user.

Properties

View Source

Index

Gets the index of the log entry.

Declaration
long Index { get; }
Property Value
Type Description
long

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
☀
☾