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
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor.
search_schemas()
Return all loaded modules that implement Khafra.SearchBehaviour.
sql_modules()
Return all loaded modules that implement Khafra.SearchBehaviourSQL.
start_link(init_arg)
start_table_servers()
Called after the supervisor is started to spin up a TableServer for every schema that implements SearchBehaviour or SearchBehaviourSQL.