Copyright © 2007-2015 Zuse Institute Berlin
Version: $Id$
Behaviours: supervisor.
Authors: Thorsten Schuett (schuett@zib.de).
Supervisor for a mgmt server or/and "ordinary" node that is responsible for keeping its processes running.
If one of the supervised processes fails, only the failed process will be re-started!check_config/0 | Checks whether config parameters exist and are valid. |
childs/1 | |
init/1 | |
start_link/0 | |
start_link/1 | |
stop_first_services/0 | |
supspec/1 |
start_link() -> {ok, Pid :: pid()} | {error, Error :: {already_started, Pid :: pid()} | term()}
start_link(Options :: [tuple()]) -> {ok, Pid :: pid()} | {error, Error :: {already_started, Pid :: pid()} | shutdown | term()}
init(Options :: [tuple()]) -> {ok, {{one_for_one, MaxRetries :: pos_integer(), PeriodInSeconds :: pos_integer()}, [ProcessDescr :: supervisor:child_spec()]}}
supspec(X1 :: any()) -> {ok, {{one_for_one, MaxRetries :: pos_integer(), PeriodInSeconds :: pos_integer()}, []}}
childs(Options :: [tuple()]) -> [any()]
stop_first_services() -> ok
check_config() -> boolean()
Checks whether config parameters exist and are valid.
Generated by EDoc, Feb 29 2016, 16:16:20.