View Source Etso.Adapter.TableServer (Logflare Etso v1.1.2)
The Table Server is a simple GenServer tasked with starting and holding an ETS table, which is namespaced in the Table Registry by the Repo and the Schema. Once the Table Server starts, it will attempt to create the ETS table, and also register the ETS table with the Table Registry.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts the Table Server for the given repo
and schema
, with registration under name
.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec start_link({Etso.repo(), Etso.schema(), atom()}) :: GenServer.on_start()
Starts the Table Server for the given repo
and schema
, with registration under name
.