Copyright © 2007-2015 Zuse Institute Berlin
Version: $Id$
Behaviours: supervisor.
Authors: Thorsten Schuett (schuett@zib.de).
Supervisor for each DHT node that is responsible for keeping processes running that run for themselves.
If one of the supervised processes fails, only the failed process will be re-started!childs/1 | |
init/1 | |
start_link/1 | |
supspec/1 |
start_link(X1 :: {DHTNodeGroup :: pid_groups:groupname(), Options :: [tuple()]}) -> {ok, Pid :: pid(), pid_groups:groupname()} | ignore | {error, Error :: {already_started, Pid :: pid()} | shutdown | term()}
init(X :: [{pid_groups:groupname(), [tuple()]}]) -> {ok, {{one_for_one, MaxRetries :: pos_integer(), PeriodInSeconds :: pos_integer()}, []}}
supspec(X1 :: any()) -> {ok, {{one_for_one, MaxRetries :: pos_integer(), PeriodInSeconds :: pos_integer()}, []}}
childs(X1 :: [{pid_groups:groupname(), Options :: [tuple()]}]) -> [ProcessDescr :: supervisor:child_spec()]
Generated by EDoc, Feb 29 2016, 16:16:19.