Geolix v0.18.0 Geolix.Database.Supervisor View Source
Supervisor for database processes (storage + loader).
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Starts the worker processes of an adapter if not already under supervision
Starts the database supervisor
Link to this section Functions
Link to this function
child_spec(init_arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
start_adapter(adapter)
View Source
start_adapter(adapter)
View Source
start_adapter(module()) :: :ok
start_adapter(module()) :: :ok
Starts the worker processes of an adapter if not already under supervision.
Link to this function
start_link(default \\ [])
View Source
start_link(default \\ [])
View Source
start_link(term()) :: Supervisor.on_start()
start_link(term()) :: Supervisor.on_start()
Starts the database supervisor.