Module yz_sup

Top-level supervisor for yokozuna.

Behaviours: supervisor.

Description

Top-level supervisor for yokozuna.

Starts no children if yokozuna is not enabled (start_link(false)).

Starts two sub-supervisors if yokozuna is enabled: one supervisor for the JVM solr manager, and another supervisor for the rest of the long-lived yokozuna processes. This top-level supervisor's restart strategy is thus to allow zero restarts of its sub-supervisors. If those sub-supervisors exit, something is really wrong, and yokozuna should shut down.

Function Index

init/1
start_link/1

Function Details

init/1

init(X1) -> any()

start_link/1

start_link(Enabled) -> any()


Generated by EDoc