island v0.2.0 Island.NodeServer

Link to this section Summary

Link to this section Types

Link to this type next_node_state()
next_node_state() :: node_state() | :keep_state
Link to this type node_state()
node_state() :: :leader | :candidate | :follower
Link to this type raft_term()
raft_term() :: non_neg_integer()

Link to this section Functions

Link to this function callback_mode()
Link to this function candidate(arg1, arg2, state)
Link to this function child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor in Elixir v1.6+.

Link to this function follower(arg1, arg2, state)
Link to this function leader(arg1, arg2, state)