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

Latest commit

 

History

History
110 lines (63 loc) · 2.72 KB

forseti_mnesia.md

File metadata and controls

110 lines (63 loc) · 2.72 KB

Module forseti_mnesia

Behaviours: gen_server.

Function Index

add_call/2
choose_node/0
code_change/3
find/2
get/3
get_metrics/0
handle_call/3
handle_cast/2
handle_info/2
init/1
start_link/1
terminate/2

Function Details

add_call/2


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

choose_node/0


choose_node() -> node()

code_change/3

code_change(OldVsn, State, Extra) -> any()

find/2


find(Name::call_name(), Key::key()) -> {ok, pid()} | undefined

get/3


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

get_metrics/0


get_metrics() -> [{node(), pos_integer()}]

handle_call/3

handle_call(X1, From, Call) -> any()

handle_cast/2

handle_cast(X1, State) -> any()

handle_info/2

handle_info(X1, State) -> any()

init/1

init(X1) -> any()

start_link/1


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

terminate/2

terminate(Reason, State) -> any()