View Source Nebulex.DiskAdapter.DiskCacheHelper (Bonfire v0.9.11-social-beta.6)

WIP: Nebulex disk adapter based on https://hexdocs.pm/nebulex/creating-new-adapter.html and https://hexdocs.pm/cachex/Cachex.Disk.html

Summary

Functions

cache_path(key, adapter_meta, opts)

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

disk_clear(cache_module \\ nil, opts \\ [])

disk_delete(adapter_meta, key, opts)

disk_get(adapter_meta, key, fun, opts)

disk_list(cache_module \\ nil, opts \\ [])

disk_put(adapter_meta, key, data, opts)

init(options \\ [])

Callback implementation for GenServer.init/1.

start_link(options \\ [])