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. |
start_link() -> Result
Result = {ok, pid()} | ignore | {error, term()}
Starts the top-level supervisor and registers it as ppool.
start_pool(Name, Limit, MFA) -> Result
Name = ppool:name()Limit = integer()MFA = ppool:mfa_spec()Result = {ok, pid()} | {error, term()}
See ppool:start_pool/3.
stop() -> Result
Result = 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.
See ppool:stop_pool/1.
Generated by EDoc