hyparview v0.1.4 Hyparview.PeerManager View Source

Hyparview PeerManager module

Link to this section Summary

Link to this section Functions

Callback implementation for c::gen_statem.callback_mode/0.

Link to this function fanout(nodes, msg) View Source
fanout(MapSet.t(), term()) :: :ok
Link to this function get_active_view() View Source
get_active_view() :: MapSet.t(Node.t()) | {:error, :timeout}
Link to this function get_active_view(node) View Source
get_active_view(Node.t()) :: MapSet.t(Node.t()) | {:error, :timeout}
Link to this function get_passive_view() View Source
get_passive_view() :: MapSet.t(Node.t()) | {:error, :timeout}
Link to this function get_passive_view(node) View Source
get_passive_view(Node.t()) :: MapSet.t(Node.t()) | {:error, :timeout}
Link to this function handle_event(type, msg, arg3, data) View Source

Callback implementation for c::gen_statem.handle_event/4.

Callback implementation for c::gen_statem.init/1.

Link to this function send_after(msg, after_msec) View Source
send_after(term(), non_neg_integer()) :: reference()
Link to this function send_after(node, msg, after_msec) View Source
send_after(Node.t(), term(), non_neg_integer()) :: reference()
Link to this function send_message(msg) View Source
send_message(term()) :: :ok
Link to this function send_message(node, msg) View Source
send_message(nil | Node.t(), term()) :: :ok