Behaviours: gen_server.
| code_change/3 | |
| handle_call/3 | |
| handle_cast/2 | |
| handle_info/2 | |
| init/1 | |
| init_stats/1 |
Used by sidejob_resource_sup to initialize a newly created
stats ETS table to ensure the table is non-empty before bringing a
resource online. |
| reg_name/1 | |
| report/5 |
Used by sidejob_worker processes to report per-worker statistics. |
| start_link/2 | |
| stats/1 | Return the computed stats for the given sidejob resource. |
| terminate/2 | |
| usage/1 | Return the current usage for the given sidejob resource. |
code_change(OldVsn, State, Extra) -> any()
handle_call(Request, From, State) -> any()
handle_cast(Msg, State) -> any()
handle_info(Info, State) -> any()
init(X1) -> any()
init_stats(StatsETS) -> any()
Used by sidejob_resource_sup to initialize a newly created
stats ETS table to ensure the table is non-empty before bringing a
resource online
reg_name(Name) -> any()
report(Name, Id, Usage, In, Out) -> any()
Used by sidejob_worker processes to report per-worker statistics
start_link(RegName, StatsETS) -> any()
stats(Name) -> any()
Return the computed stats for the given sidejob resource
terminate(Reason, State) -> any()
usage(Name) -> any()
Return the current usage for the given sidejob resource
Generated by EDoc