Copyright © 2009-2012 Zuse Institute Berlin
Version: $Id$
Behaviours: supervisor.
Authors: Florian Schintke (schintke@zib.de).
Supervisor for each DHT node that is responsible for keeping its transaction processes running.
If one of the supervised processes fails, it will be re-started!childs/1 | |
init/1 | |
start_link/1 | |
supspec/1 |
start_link(DHTNodeGroup :: pid_groups:groupname()) -> {ok, Pid :: pid()} | ignore | {error, Error :: {already_started, Pid :: pid()} | shutdown | term()}
init(X1 :: [pid_groups:groupname()]) -> {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(X1 :: [pid_groups:groupname()]) -> [ProcessDescr :: supervisor:child_spec()]
Generated by EDoc, Feb 29 2016, 16:12:22.