Mnemonics v0.4.0 Mnemonics.Repo View Source
Orchestrate Mnemonics.Memory
.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
:load_table
=> Load a table of the table_name & version, then stop old ones
All living tables
Link to this section Types
Link to this type
t()
View Source
t() :: %Mnemonics.Repo{ ets_dir: binary(), sup_name: atom(), tables: [Mnemonics.Memory.t()] }
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
handle_call(msg, from, state)
View Source
handle_call( {:load_table, module(), atom(), pos_integer()}, GenServer.from(), t() ) :: {:reply, :ok | {:error, term()}, t()}
:load_table
=> Load a table of the table_name & version, then stop old ones.
Link to this function
tables(sup_name \\ Mnemonics)
View Source
tables(term()) :: [Mnemonics.Memory.t()]
All living tables.