raft 0.1.0
|
Configuration for creating an enhanced Raft server. More...
#include <server.hpp>
Public Attributes | |
std::shared_ptr< raft::Network > | network |
The network interface for Raft communication. | |
std::shared_ptr< raft::Server > | server |
The underlying Raft server instance. | |
std::chrono::nanoseconds | commitTimeout = std::chrono::seconds(5) |
The commit timeout. | |
uint64_t | threadCount = 1 |
The number of threads to use for timer management. | |
std::optional< GlobalCommitCallback > | commitCallback |
The commit callback to use. | |
Configuration for creating an enhanced Raft server.