Module ppool_supersup

Internal: the top-level supervisor, registered as ppool.

Behaviours: supervisor.

Description

Internal: the top-level supervisor, registered as ppool. Strategy one_for_one (intensity 6 in 3000 ms); it has one permanent child (a ppool_sup) per pool.

Function Index

init/1
start_link/0Starts the top-level supervisor and registers it as ppool.
start_pool/3See ppool:start_pool/3.
stop/0Kills the top-level supervisor, and with it every pool.
stop_pool/1See ppool:stop_pool/1.

Function Details

init/1

init(X1) -> any()

start_link/0

start_link() -> {ok, pid()} | ignore | {error, term()}

Starts the top-level supervisor and registers it as ppool.

start_pool/3

start_pool(Name::atom(), Limit::integer(), MFA::{module(), atom(), list()}) -> {ok, pid()} | {error, term()}

See ppool:start_pool/3.

stop/0

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/1

stop_pool(Name::atom()) -> ok | {error, term()}

See ppool:stop_pool/1.


Generated by EDoc