Khafra.SearchTable.TableSupervisor (khafra_search v0.3.0)

DynamicSupervisor that starts a TableServer for each manticore real-time table derived from modules implementing SearchBehaviour.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Return all loaded modules that implement Khafra.SearchBehaviour.

Return all loaded modules that implement Khafra.SearchBehaviourSQL.

Called after the supervisor is started to spin up a TableServer for every schema that implements SearchBehaviour or SearchBehaviourSQL.

Link to this section Functions

Link to this function

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

search_schemas()

Return all loaded modules that implement Khafra.SearchBehaviour.

Return all loaded modules that implement Khafra.SearchBehaviourSQL.

Link to this function

start_link(init_arg)

Link to this function

start_table_servers()

Called after the supervisor is started to spin up a TableServer for every schema that implements SearchBehaviour or SearchBehaviourSQL.