Volt.ETS (Volt v0.14.0)

Copy Markdown View Source

Small helpers for Volt's named ETS tables.

Summary

Functions

Remove all rows from an ETS table and return :ok.

Create a public named set table optimized for concurrent reads.

Delete one key from an ETS table and return :ok.

Insert one row into an ETS table and return :ok.

Functions

clear(table)

Remove all rows from an ETS table and return :ok.

create_named_set(table)

Create a public named set table optimized for concurrent reads.

delete(table, key)

Delete one key from an ETS table and return :ok.

put(table, row)

Insert one row into an ETS table and return :ok.