Copyright © (C) 2019, Maxim Fedorov
Behaviours: gen_server.
Authors: Maxim Fedorov (maximfca@gmail.com).
get/1 | Returns records starting from From (until now). |
get/2 | Returns records between From and To (inclusive) Both From and To are Erlang system time in milliseconds. |
get_last/1 | Returns records for last N seconds. |
handle_call/3 | |
handle_cast/2 | |
handle_info/2 | |
init/1 | |
start_link/0 | Starts the server. |
terminate/2 |
get(From::integer()) -> []
Returns records starting from From (until now).
get(From::integer(), To::integer()) -> []
Returns records between From and To (inclusive) Both From and To are Erlang system time in milliseconds.
get_last(N::integer()) -> []
Returns records for last N seconds.
handle_call(Request, From, State) -> any()
handle_cast(Request, State) -> any()
handle_info(Monitor_sample, State) -> any()
init(X1) -> any()
start_link() -> {ok, Pid::pid()} | ignore | {error, Reason::term()}
Starts the server
terminate(Reason, State) -> any()
Generated by EDoc