Cache.ETS (elixir_cache v0.3.7)

View Source

ETS adapter so that we can use ets as a cache

Options

  • :write_concurrency (boolean/0) - Enable write concurrency

  • :read_concurrency (boolean/0) - Enable read concurrency

  • :decentralized_counters (boolean/0) - Use decentralized counters

  • :type - Data type of ETS cache The default value is :set.

  • :compressed (boolean/0) - Enable ets compression

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

arg is passed as the argument to Task.start_link/1 in the :start field of the spec.

For more information, see the Supervisor module, the Supervisor.child_spec/2 function and the Supervisor.child_spec/0 type.