Behaviours: locks_leader
.
add_call(Name::call_name(), Call::call()) -> ok
choose_node() -> node()
code_change(OldVsn, State, Election, Extra) -> any()
elected(State, Election, Pid) -> any()
find(Name::call_name, Key::key()) -> {ok, pid()} | undefined
from_leader(State, OldState, Election) -> any()
get(Name::call_name(), Key::key(), Args::[term()]) -> {ok, pid()} | {error, reason()}
get_metrics() -> [{node(), pos_integer()}]
handle_DOWN(Pid, State, Election) -> any()
handle_call(Request, From, State, Election) -> any()
handle_cast(Msg, State, Election) -> any()
handle_info(Info, State, Election) -> any()
handle_leader_call(Request, From, State, Election) -> any()
handle_leader_cast(Request, State, Election) -> any()
init(X1) -> any()
start_link(Nodes::[atom()]) -> {ok, pid()} | {error, term()}
stop() -> ok
surrendered(State, X2, Election) -> any()
terminate(Reason, State) -> any()