class

Raft::Server(T)

Inherits Reference < Object

Constructors

new(config : Config)
Source

Instance methods

add_group(group_id : UInt64, node_id : NodeID, peers : Array(NodeID), state_machine : StateMachine(T))
Source
close
Source
node(group_id : UInt64) : Node(T)
Source
remove_group(group_id : UInt64)
Source
start_ticker
Source
take_all_messages
Source
tick
Source