Nostrum.Cache.UserCache.ETS (Nostrum v0.5.0-rc1) View Source

An ETS-based cache for users.

The default table name under which users are cached is nostrum_users. In addition to the cache behaviour implementations provided by this module, you can also call regular ETS table methods on it, such as :ets.info.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Set up the ETS table.

Start the supervisor.

Retrieve the ETS table name used for the cache.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Set up the ETS table.

Start the supervisor.

Specs

tabname() :: atom()

Retrieve the ETS table name used for the cache.