API Diff between 4.13.0 and 5.0.1
92 Additions
30 Removals
DotNext.Net.Cluster
DotNext.Net.Cluster.Consensus
DotNext.Net.Cluster.Consensus.Raft
-
public struct BinaryLogEntry : IBinaryLogEntry, IRaftLogEntry, ILogEntry, IDataTransferObject
-
public struct BinaryLogEntry<T> : IBinaryLogEntry, IRaftLogEntry, ILogEntry, IDataTransferObject where T : struct, IBinaryFormattable<T>
-
public struct BufferedLogEntry : IRaftLogEntry, ILogEntry, IDataTransferObject, IDisposable
-
public struct BufferedLogEntryList : IDisposable, IReadOnlyList<BufferedLogEntry>, IEnumerable<BufferedLogEntry>, IEnumerable, IReadOnlyCollection<BufferedLogEntry>
-
public struct BufferedRaftLogEntry : IRaftLogEntry, ILogEntry, IDataTransferObject, IDisposable
-
public struct BufferedRaftLogEntryList : IDisposable, IReadOnlyList<BufferedRaftLogEntry>, IEnumerable<BufferedRaftLogEntry>, IEnumerable, IReadOnlyCollection<BufferedRaftLogEntry>
-
public sealed class ConsensusOnlyState : Disposable, IPersistentState, IAuditTrail<IRaftLogEntry>, IAuditTrail
- public long LastEntryIndex { get; }
- public long Term { get; }
- public long LastUncommittedEntryIndex { get; }
- public ValueTask<TResult> ReadAsync<TResult>(ILogEntryConsumer<IRaftLogEntry, TResult> reader, long startIndex, long endIndex, CancellationToken token)
- public ValueTask<TResult> ReadAsync<TResult>(ILogEntryConsumer<IRaftLogEntry, TResult> reader, long startIndex, CancellationToken token)
- public ValueTask<TResult> ReadAsync<TResult>(LogEntryConsumer<IRaftLogEntry, TResult> reader, long startIndex, long endIndex, CancellationToken token)
- public ValueTask<TResult> ReadAsync<TResult>(LogEntryConsumer<IRaftLogEntry, TResult> reader, long startIndex, CancellationToken token)
-
public struct EmptyLogEntry : IRaftLogEntry, ILogEntry, IDataTransferObject
-
public enum HeartbeatResult
-
public interface IClusterMemberConfiguration
-
public interface ILeaderLease
-
public interface IPersistentState : IAuditTrail<IRaftLogEntry>, IAuditTrail
-
public interface IRaftCluster : IReplicationCluster<IRaftLogEntry>, IReplicationCluster, ICluster, IPeerMesh<IClusterMember>, IPeerMesh, IPeerMesh<IRaftClusterMember>
-
public interface IRaftClusterMember : IClusterMember, IPeer
- Task<Result<HeartbeatResult>> AppendEntriesAsync<TEntry, TList>(long term, TList entries, long prevLogIndex, long prevLogTerm, long commitIndex, IClusterConfiguration config, bool applyConfig, CancellationToken token) where TEntry : IRaftLogEntry where TList : IReadOnlyList<TEntry>
- ref long ConfigurationFingerprint { get; }
- ref long NextIndex { get; }
- Task<Result<bool>> AppendEntriesAsync<TEntry, TList>(long term, TList entries, long prevLogIndex, long prevLogTerm, long commitIndex, IClusterConfiguration config, bool applyConfig, CancellationToken token) where TEntry : IRaftLogEntry where TList : IReadOnlyList<TEntry>
- Task<Result<HeartbeatResult>> InstallSnapshotAsync(long term, IRaftLogEntry snapshot, long snapshotIndex, CancellationToken token)
- Task<Result<bool>> InstallSnapshotAsync(long term, IRaftLogEntry snapshot, long snapshotIndex, CancellationToken token)
-
public struct JsonLogEntry<T> : IRaftLogEntry, ILogEntry, IDataTransferObject
-
public class LogEntriesBufferingOptions : LogEntryBufferingOptions
-
public class LogEntryBufferingOptions
-
public class MetricsCollector : ILeaderStateMetrics, IFollowerStateMetrics
-
public abstract class PersistentState : Disposable, IPersistentState, IAuditTrail<IRaftLogEntry>, IAuditTrail
- public long LastEntryIndex { get; }
- public long LastUncommittedEntryIndex { get; }
- public BinaryLogEntry CreateBinaryLogEntry(ReadOnlyMemory<byte> content)
- public BinaryLogEntry<T> CreateBinaryLogEntry<T>(T content) where T : IBinaryFormattable<T>
- public JsonLogEntry<T> CreateJsonLogEntry<T>(T content) where T : IJsonSerializable<T>
- public JsonLogEntry<T> CreateJsonLogEntry<T>(T content, string typeId = null, JsonSerializerOptions options = null)
- public JsonLogEntry<T> CreateJsonLogEntry<T>(T content, string typeId, JsonTypeInfo<T> typeInfo)
- public ValueTask EnsureConsistencyAsync(CancellationToken token)
- public ValueTask<TResult> ReadAsync<TResult>(ILogEntryConsumer<IRaftLogEntry, TResult> reader, long startIndex, long endIndex, CancellationToken token = default)
- public ValueTask<TResult> ReadAsync<TResult>(ILogEntryConsumer<IRaftLogEntry, TResult> reader, long startIndex, CancellationToken token = default)
- public ValueTask<TResult> ReadAsync<TResult>(LogEntryConsumer<IRaftLogEntry, TResult> reader, long startIndex, long endIndex, CancellationToken token = default)
- public ValueTask<TResult> ReadAsync<TResult>(LogEntryConsumer<IRaftLogEntry, TResult> reader, long startIndex, CancellationToken token = default)
-
public class RaftCluster : RaftCluster<RaftClusterMember>, ILocalMember
-
public abstract class RaftCluster<TMember> : Disposable, IUnresponsiveClusterMemberRemovalSupport, IRaftCluster, IReplicationCluster<IRaftLogEntry>, IReplicationCluster, ICluster, IPeerMesh<IClusterMember>, IPeerMesh, IPeerMesh<IRaftClusterMember>, IStandbyModeSupport, IRaftStateMachine<TMember>, IRaftStateMachine, IAsyncDisposable where TMember : IRaftClusterMember, IDisposable
- protected bool IsLeaderLocal { get; }
- public ILeaderLease Lease { get; }
- protected MetricsCollector Metrics { get; set; }
- protected ValueTask<Result<HeartbeatResult>> AppendEntriesAsync<TEntry>(ClusterMemberId sender, long senderTerm, ILogEntryProducer<TEntry> entries, long prevLogIndex, long prevLogTerm, long commitIndex, IClusterConfiguration config, bool applyConfig, CancellationToken token) where TEntry : IRaftLogEntry
- protected ValueTask<Result<bool>> AppendEntriesAsync<TEntry>(ClusterMemberId sender, long senderTerm, ILogEntryProducer<TEntry> entries, long prevLogIndex, long prevLogTerm, long commitIndex, IClusterConfiguration config, bool applyConfig, CancellationToken token) where TEntry : IRaftLogEntry
- protected ValueTask<Result<HeartbeatResult>> InstallSnapshotAsync<TSnapshot>(ClusterMemberId sender, long senderTerm, TSnapshot snapshot, long snapshotIndex, CancellationToken token) where TSnapshot : IRaftLogEntry
- protected ValueTask<Result<bool>> InstallSnapshotAsync<TSnapshot>(ClusterMemberId sender, long senderTerm, TSnapshot snapshot, long snapshotIndex, CancellationToken token) where TSnapshot : IRaftLogEntry
- public bool TryGetLeaseToken(out CancellationToken token)
- public ValueTask TurnIntoRegularNodeAsync(CancellationToken token)
-
public class RaftLogEntriesBufferingOptions : RaftLogEntryBufferingOptions
-
public struct RaftLogEntry : IBinaryLogEntry, IRaftLogEntry, ILogEntry, IDataTransferObject
-
public class RaftLogEntryBufferingOptions
-
public class RaftProtocolException : ConsensusProtocolException
-
public struct Result<T>
- public Result(long term, T value)
DotNext.Net.Cluster.Consensus.Raft.Commands
DotNext.Net.Cluster.Consensus.Raft.Metrics
DotNext.Net.Cluster.Discovery
DotNext.Net.Cluster.Discovery.HyParView
DotNext.Net.Cluster.Messaging
DotNext.Net.Cluster.Messaging.Gossip
DotNext.Net.Security