Raft v0.2.1 Raft.Server.State

Defines a state struct and common operations for the internal state of the server process.

Link to this section Summary

Link to this section Functions

Link to this function add_vote(state, arg2)
Link to this function increment_term(state)
Link to this function last_index(state)
Link to this function majority?(state)
Link to this function new(config, log_store, last_index, current_term, configuration)