API Diff between 3.2.1 and 2.12.0
99 Additions
20 Removals
DotNext.Net.Cluster
DotNext.Net.Cluster.Consensus.Raft
-
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 struct ElectionTimeout
-
public struct EmptyEntry : IRaftLogEntry, ILogEntry, IDataTransferObject
-
public struct EmptyLogEntry : IRaftLogEntry, ILogEntry, IDataTransferObject
-
public interface IClusterMemberConfiguration
-
public interface IPersistentState : IAuditTrail<IRaftLogEntry>, IAuditTrail
-
public interface IRaftClusterMember : IClusterMember
-
public interface IRaftLogEntry : ILogEntry, IDataTransferObject
-
public struct JsonLogEntry<T> : IRaftLogEntry, ILogEntry, IDataTransferObject
-
public class PersistentState : Disposable, IPersistentState, IAuditTrail<IRaftLogEntry>, IAuditTrail, IAsyncDisposable
- protected struct LogEntry : IRaftLogEntry, ILogEntry, IDataTransferObject, IAsyncBinaryReader
- public enum CompactionMode
- public enum LogEntryCacheEvictionPolicy
- public sealed class MissingPartitionException : IntegrityException
- public long CompactionCount { get; }
- public bool IsBackgroundCompaction { get; }
- public Task<bool> AppendAndEnsureCommitAsync<TEntry>(TEntry entry, TimeSpan timeout, bool addToCache = false, CancellationToken token = default) where TEntry : IRaftLogEntry
- public ValueTask AppendAsync<TEntry>(TEntry entry, long startIndex) where TEntry : IRaftLogEntry
- public ValueTask<long> AppendAsync<TEntry>(ref WriteLockToken writeLock, TEntry entry, CancellationToken token) where TEntry : IRaftLogEntry
- public ValueTask AppendAsync<TEntry>(TEntry entry, long startIndex, CancellationToken token = default) where TEntry : IRaftLogEntry
- public ValueTask<long> AppendAsync<TEntry>(ref WriteLockToken writeLock, TEntry entry, bool flush = true, CancellationToken token = default) where TEntry : IRaftLogEntry
- public ValueTask<long> AppendAsync<TEntry>(TEntry entry, bool addToCache, CancellationToken token = default) where TEntry : IRaftLogEntry
- public JsonLogEntry<T> CreateJsonLogEntry<T>(T content, string typeId = null, JsonSerializerOptions options = null)
- public ValueTask<long> DropAsync(long startIndex, CancellationToken token)
- public ValueTask<long> DropAsync(long startIndex, bool reuseSpace = false, CancellationToken token = default)
- public ValueTask ForceCompactionAsync(long count, CancellationToken token)
- public bool IsValidToken(ref WriteLockToken token)
- public ValueTask<TResult> ReadAsync<TReader, TResult>(TReader reader, long startIndex, long endIndex, CancellationToken token) where TReader : ILogEntryConsumer<IRaftLogEntry, TResult>
- public ValueTask<TResult> ReadAsync<TReader, TResult>(TReader reader, long startIndex, CancellationToken token) where TReader : ILogEntryConsumer<IRaftLogEntry, TResult>
- 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 bool Validate(ref WriteLockToken token)
-
public abstract class RaftCluster<TMember> : Disposable, IRaftCluster, IReplicationCluster<IRaftLogEntry>, IReplicationCluster, ICluster, IRaftStateMachine, IAsyncDisposable where TMember : IRaftClusterMember, IDisposable
- protected sealed delegate MemberCollectionMutator<TMember, T> : MulticastDelegate where TMember : IRaftClusterMember, IDisposable
- public TimeSpan ElectionTimeout { get; }
- public event ReplicationCompletedEventHandler ReplicationCompleted
- protected Task ChangeMembersAsync<T>(MemberCollectionMutator<TMember, T> mutator, T arg, CancellationToken token)
- public ValueTask DisposeAsync()
- protected ValueTask<TMember> FindMemberAsync(Func<TMember, CancellationToken, ValueTask<bool>> criteria, CancellationToken token)
- protected Task<Result<bool>> ReceiveEntries<TEntry>(TMember sender, long senderTerm, ILogEntryProducer<TEntry> entries, long prevLogIndex, long prevLogTerm, long commitIndex) where TEntry : IRaftLogEntry
- protected Task<bool> ReceiveResign()
- protected Task<Result<bool>> ReceivePreVoteAsync(long nextTerm, long lastLogIndex, long lastLogTerm, CancellationToken token)
- protected Task<Result<bool>> ReceiveSnapshot(TMember sender, long senderTerm, IRaftLogEntry snapshot, long snapshotIndex)
- protected Task<Result<bool>> ReceiveVote(TMember sender, long senderTerm, long lastLogIndex, long lastLogTerm)
- public ValueTask TurnIntoRegularNodeAsync(CancellationToken token)
-
public abstract class RaftClusterMember : Disposable, IRaftClusterMember, IClusterMember
-
public class RaftLogEntriesBufferingOptions : RaftLogEntryBufferingOptions
-
public class RaftLogEntryBufferingOptions
DotNext.Net.Cluster.Consensus.Raft.Commands
DotNext.Net.Cluster.Messaging
DotNext.Net.Cluster.Replication
DotNext.Runtime.Serialization