View Source vdist_atom_translation_table (erldist_filter v1.1.0)

Link to this section Summary

Link to this section Types

-type index() :: 0..255.
-type t() :: #vdist_atom_translation_table{}.

Link to this section Functions

-spec find(Table, Index) -> {ok, Atom} | {error, Reason}
        when Table :: t(), Index :: index(), Atom :: atom(), Reason :: not_found.
-spec new() -> Table when Table :: t().
-spec rfind(Table, Atom) -> {ok, Index} | {error, Reason}
         when Table :: t(), Index :: index(), Atom :: atom(), Reason :: not_found.
Link to this function

store(Table, CacheIndex, Atom)

View Source
-spec store(Table, CacheIndex, Atom) -> {ok, Table} | {error, Reason}
         when
             Table :: t(),
             CacheIndex :: vdist_atom_cache:index(),
             Atom :: atom(),
             Reason :: max_internal_atom_cache_entries.