Geolix v1.1.0 Geolix.Database.Loader View Source

Takes care of (re-) loading databases.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Returns state information for a specific database

Callback implementation for GenServer.init/1.

Returns a list of all completely loaded databases.

Returns a list of all registered databases.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get_database(which)

View Source
get_database(atom()) :: map() | nil

Returns state information for a specific database

Callback implementation for GenServer.init/1.

Link to this function

loaded_databases()

View Source
loaded_databases() :: [atom()]

Returns a list of all completely loaded databases.

Link to this function

registered_databases()

View Source
registered_databases() :: [atom()]

Returns a list of all registered databases.

Registered databases may or may not be already loaded.