View Source MishkaInstaller.PluginETS (Mishka Installer v0.0.3)
## ETS part to optimization state instead of dynamic supervisor and Genserver
public
— Read/Write available to all processes.
protected
— Read available to all processes. Only writable by owner process. This is the default.
private
— Read/Write limited to owner process.
#### Essential functions in ETS
- :ets.new
:ets.new(@tab, [:set, :named_table, :public, read_concurrency: true, write_concurrency: true])
- :ets.insert
- :ets.insert_new
- :ets.lookup
- :ets.match
- :ets.match_object
- :ets.select
- :ets.fun2ms
- :ets.delete
- :dets.open_file
- :ets.update_counter
- :ets.delete_all_objects
- :ets.tab2list - to spy on the data in the table
- :ets.update_counter
- :ets.all
- :ets.info
### Refs
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.