Expand description
A selective view of key components in Raft Engine. Exported under the
internals
feature only.
Modules§
- debug
- A set of public utilities used for interacting with log files.
Structs§
- Default
Machine Factory - A factory of
ReplayMachine
s that can be default constructed. - Entry
Index - Location of a log entry.
- File
Block Handle - A logical pointer to a chunk of log file data.
- FileId
- A unique identifier for a log file.
- File
Pipe Log - A
PipeLog
implementation that stores data in filesystem. - File
Pipe LogBuilder DualPipes
factory that can also recover other customized memory states.- LogFile
Context - MemTable
- In-memory storage for Raft Groups.
- MemTable
Accessor - A collection of
MemTable
s. - MemTable
Recover Context - MemTable
Recover Context Factory - Purge
Hook - Purge
Manager - Recovery
Config - Container for basic settings on recovery.
- Version
Iter - An iterator over the variants of Version
- Write
Barrier - A synchronizer of
Writer
s. - Write
Group - A collection of writers. User thread (leader) that receives a
WriteGroup
is responsible for processing its containing writers. - Writer
- Writer
Iter - An iterator over the
Writer
s in oneWriteGroup
.
Enums§
Traits§
- Event
Listener EventListener
contains a set of callback functions that will be notified on specific events inside Raft Engine.- File
Name Ext FileNameExt
offers file name formatting extensions toFileId
.- PipeLog
- A
PipeLog
serves reads and writes over multiple queues of log files. - Reactive
Bytes - Some bytes whose value might be dependent on the file it is written to.
- Replay
Machine ReplayMachine
is a type of deterministic state machine that obeys associative law.
Functions§
Type Aliases§
- FileSeq
- Sequence number for log file. It is unique within a log queue.
- MemTable
Handle - MemTables