Namespace DotNext.Net.Cluster.Consensus.Raft
Classes
ClusterMemberConfiguration
Represents configuration of cluster member.
ConsensusOnlyState
Represents lightweight Raft node state that is suitable for distributed consensus only.
DiskBasedStateMachine
Represents disk-based state machine.
LogEntriesBufferingOptions
Represents buffering options used for batch processing of log entries.
LogEntryBufferingOptions
Represents options for creating buffered Raft log entries.
MemoryBasedStateMachine
Represents memory-based state machine with snapshotting support.
MemoryBasedStateMachine.IncrementalSnapshotBuilder
Represents incremental snapshot builder.
MemoryBasedStateMachine.InlineSnapshotBuilder
Represents a snapshot builder that allows to write directly to the snapshot file using RandomAccess class.
MemoryBasedStateMachine.Options
Represents configuration options of memory-based state machine.
MemoryBasedStateMachine.SnapshotBuilder
Represents snapshot builder.
PersistentState
Represents general purpose persistent audit trail compatible with Raft algorithm.
PersistentState.InternalStateBrokenException
Indicates that IntegrityCheck enabled and the internal state of the WAL didn't pass the integrity check.
PersistentState.MissingPartitionException
Indicates that the log entry doesn't have a partition.
PersistentState.Options
Represents configuration options of the persistent audit trail.
RaftCluster
Represents default implementation of Raft-based cluster.
RaftCluster.BuiltInTransportConfiguration
Provides configuration of cluster node whose communication is based on network transport implemented by .NEXT library.
RaftCluster.CustomTransportConfiguration
Provides configuration of cluster node whose communication is based on custom network transport.
RaftCluster.NodeConfiguration
Represents transport-agnostic configuration of cluster member.
RaftCluster.TcpConfiguration
Represents configuration of the local cluster node that relies on TCP transport.
RaftClusterConfiguration
Allows to setup special service used for configuration of IRaftCluster instance.
RaftClusterMember
Represents Raft cluster member that is accessible through the network.
RaftClusterMemberEventArgs<TMember>
Represents arguments for all events related to Raft cluster members.
RaftCluster<TMember>
Represents transport-independent implementation of Raft protocol.
RaftCluster<TMember>.ConcurrentMembershipModificationException
Indicates that the caller is trying to add or remove cluster member concurrently.
RaftProtocolException
Represents violation of Raft protocol.
Structs
BinaryLogEntry
Represents default implementation of IRaftLogEntry.
BinaryLogEntry<T>
Represents a log entry with binary payload.
BufferedLogEntry
Represents buffered log entry.
BufferedLogEntryList
Represents log entry producer that allows to bufferize log entries from another producer.
DiskBasedStateMachine.SnapshotAccessToken
Represents a token that uniquely identifies the concurrent read of the snapshot.
ElectionTimeout
Represents leader election timeout.
EmptyLogEntry
Represents No-OP entry.
IRaftClusterMember.ReplicationState
Represents replication state of the member used internally by Raft implementation.
JsonLogEntry<T>
Represents JSON-serializable log entry.
MemoryBasedStateMachine.SnapshotBuilderContext
Represents snapshot building context.
PersistentState.LogEntry
Represents persistent log entry.
Result<T>
Represents RPC response.
Interfaces
IClusterMemberConfiguration
Represents configuration of cluster member.
IClusterMemberLifetime
Provides additional control over IRaftCluster lifecycle.
IInputLogEntry
Represents a custom log entry that can be passed to the log.
IPersistentState
Represents persistent state of local cluster member required by Raft consensus protocol.
IRaftCluster
Represents cluster of nodes coordinated using Raft consensus protocol.
IRaftClusterMember
Represents cluster member accessible through Raft protocol.
IRaftLogEntry
Represents log entry in Raft audit trail.
Enums
HeartbeatResult
A result of heartbeat processing returned by the Follower member.
MemoryBasedStateMachine.CompactionMode
Represents log compaction mode.
MemoryBasedStateMachine.LogEntryCacheEvictionPolicy
Represents eviction policy of the entries located in the cache.
PersistentState.WriteMode
Describes how the log interacts with underlying storage device.
PreVoteResult
Represents a result of pre-voting phase.