Module metricsprocesstracker
June 26, 2016 ยท View on GitHub
module to track processes associated to a counter.
Behaviours: gen_server.
Function Index
| code_change/3 | |
| handle_call/3 | |
| handle_cast/2 | |
| handle_info/2 | |
| init/1 | |
| start_link/0 | |
| terminate/2 | |
| track/1 | track the number of processes for a name this add the current process. |
| track/2 | track the number of processes for a name. |
Function Details
code_change/3
code_change(OldVsn, State, Extra) -> any()
handle_call/3
handle_call(Msg, From, State) -> any()
handle_cast/2
handle_cast(X1, State) -> any()
handle_info/2
handle_info(X1, State) -> any()
init/1
init(X1) -> any()
start_link/0
start_link() -> any()
terminate/2
terminate(Reason, State) -> any()
track/1
track(Name::any()) -> ok | {error, term()}
track the number of processes for a name this add the current process
track/2
track(Name::any(), Pid::pid()) -> ok | {error, term()}
track the number of processes for a name