Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Latest commit

 

History

History
144 lines (92 loc) · 4.13 KB

forseti.md

File metadata and controls

144 lines (92 loc) · 4.13 KB

Module forseti

Function Index

add_call/2
find/2
get/2
get/3
get_key/1
get_key/2
get_less_used_node/0
get_metrics/0
search_key/1
start_link/1
start_link/2
start_link/3
start_link/4
start_link/5

Function Details

add_call/2


add_call(Name::call_name(), X2::call()) -> ok

find/2


find(Name::call_name(), Key::any()) -> {ok, pid()} | {error, reason()}

get/2


get(Name::call_name(), Key::any()) -> {ok, pid()} | {error, Reason::atom()}

get/3


get(Name::call_name(), Key::any(), Args::[term()]) -> {ok, pid()} | {error, Reason::atom()}

get_key/1


get_key(Key::any()) -> {node(), pid()} | {error, reason()}

get_key/2


get_key(Key::any(), Args::[term()]) -> {node(), pid()} | {error, Reason::atom()}

get_less_used_node/0


get_less_used_node() -> node()

get_metrics/0


get_metrics() -> [node_metrics()]

search_key/1


search_key(Key::any()) -> {ok, PID::pid()} | undefined

start_link/1


start_link(Nodes::[node()]) -> {ok, pid()} | {error, reason()}

start_link/2


start_link(Call::call(), Nodes::[node()]) -> {ok, pid()} | {error, reason()}

start_link/3


start_link(Backend::backend(), Call::call(), Nodes::[node()]) -> {ok, pid()} | {error, reason()}

start_link/4


start_link(MaxR::max_retries(), MaxT::max_time(), Call::call(), Nodes::[node()]) -> {ok, pid()} | {error, reason()}

start_link/5


start_link(Backend::backend(), MaxR::max_retries(), MaxT::max_time(), Call::call(), Nodes::[node()]) -> {ok, pid()} | {error, reason()}