Behaviours: supervisor.
| init/1 | |
| restart_worker/2 | |
| start_link/1 | |
| start_worker/2 | |
| stop_worker/2 |
init(X1::[PoolId]) -> {ok, {{Strategy, MaxR, MaxT}, [ChildSpec]}}
PoolId = atom()Strategy = supervisor:strategy()MaxR = non_neg_integer()MaxT = pos_integer()ChildSpec = supervisor:child_spec()
restart_worker(PoolId, WorkerId) -> ok
PoolId = atom()WorkerId = term()
start_link(PoolId) -> {ok, Pid}
PoolId = atom()Pid = pid()
start_worker(PoolId, WorkerId) -> ok
PoolId = atom()WorkerId = term()
stop_worker(PoolId, WorkerId) -> ok
PoolId = atom()WorkerId = term()
Generated by EDoc