Cache.DETS (elixir_cache v0.3.9)

View Source

DETS adapter so that we can use dets as a cache

Options

  • :ram_file (boolean/0) - Enable RAM File The default value is false.

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

  • :file_path (String.t/0) - File path to save DETS file at The default value is "./".

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.