Behaviours: supervisor.
init/1 | Initialize the supervisor. |
start_link/2 | Start the supervisor. |
start_worker/2 | Start a new worker under the supervisor. |
terminate_worker/2 | Stop a worker immediately. |
init(X1::[riak_pipe_vnode:partition() | pid()]) -> {ok, {{supervisor:strategy(), pos_integer(), pos_integer()}, [supervisor:child_spec()]}}
Initialize the supervisor. This is a simple_one_for_one
,
whose child spec is for starting riak_pipe_vnode_worker
FSMs.
start_link(Partition::riak_pipe_vnode:partition(), VnodePid::pid()) -> {ok, pid()} | ignore | {error, term()}
Start the supervisor.
start_worker(Supervisor::pid(), Details::riak_pipe_fitting:details()) -> {ok, pid()}
Start a new worker under the supervisor.
terminate_worker(Supervisor::pid(), WorkerPid::pid()) -> ok | {error, term()}
Stop a worker immediately
Generated by EDoc, Nov 19 2012, 04:53:18.