raft 0.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
raft::enhanced::ServerCreateConfig Struct Reference

Configuration for creating an enhanced Raft server. More...

#include <server.hpp>

Public Attributes

std::shared_ptr< raft::Networknetwork
 The network interface for Raft communication.
 
std::shared_ptr< raft::Serverserver
 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.
 

Detailed Description

Configuration for creating an enhanced Raft server.


The documentation for this struct was generated from the following file: