UAInspector v0.19.0 UAInspector.Storage.ETS View Source
ETS Interaction for storage servers.
Link to this section Summary
Functions
Creates a new named storage data table
Creates a new named storage lookup table
Deletes a storage table if it exists
Tries to retrieve a data table tid from a lookup table
Updates the data table tid in a lookup table
Link to this section Functions
Link to this function
create_data(name) View Source
Creates a new named storage data table.
Link to this function
create_lookup(name) View Source
Creates a new named storage lookup table.
Link to this function
delete(tid)
View Source
delete(tid)
View Source
delete(:ets.tid()) :: :ok
delete(:ets.tid()) :: :ok
Deletes a storage table if it exists.
Link to this function
fetch_data(lookup_name, data_name) View Source
Tries to retrieve a data table tid from a lookup table.
Link to this function
update_data(lookup_name, data_name, data_tid) View Source
Updates the data table tid in a lookup table.