ppool.
Behaviours: supervisor.
ppool.
Strategy one_for_one (intensity 6 in 3000 ms); it has one
permanent child (a ppool_sup) per pool.
| init/1 | |
| start_link/0 | Starts the top-level supervisor and registers it as ppool. |
| start_pool/3 | See ppool:start_pool/3. |
| stop/0 | Kills the top-level supervisor, and with it every pool. |
| stop_pool/1 | See ppool:stop_pool/1. |
init(X1) -> any()
start_link() -> {ok, pid()} | ignore | {error, term()}
Starts the top-level supervisor and registers it as ppool.
start_pool(Name::atom(), Limit::integer(), MFA::{module(), atom(), list()}) -> {ok, pid()} | {error, term()}
See ppool:start_pool/3.
stop() -> ok | true
Kills the top-level supervisor, and with it every pool.
Returns true if it was running, ok otherwise. Not used by the
library itself.
stop_pool(Name::atom()) -> ok | {error, term()}
See ppool:stop_pool/1.
Generated by EDoc