View Source Cache.Sandbox (elixir_cache v0.3.5)

This module is the adapter used by the SandboxRegistry to mock out all the other adapters therefore it must implement all features shared across all adapters. It uses a basic Agent and shouldn't be used in production. It's good for dev & test to avoid needing dependencies

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

command(cache_name, command, opts)

View Source
Link to this function

command!(cache_name, command, opts)

View Source
Link to this function

hash_delete(cache_name, key, hash_key, opts)

View Source
Link to this function

hash_get(cache_name, key, hash_key, opts)

View Source
Link to this function

hash_get_all(cache_name, key, opts)

View Source
Link to this function

hash_get_many(cache_name, keys_fields, opts)

View Source
Link to this function

hash_scan(cache_name, key, scan_opts, opts)

View Source
Link to this function

hash_set(cache_name, key, field, value, ttl, opts)

View Source
Link to this function

hash_set_many(cache_name, keys_fields_values, ttl, opts)

View Source
Link to this function

hash_values(cache_name, key, opts)

View Source
Link to this function

json_array_append(cache_name, key, path, value, opts)

View Source
Link to this function

json_clear(cache_name, key, path, opts)

View Source
Link to this function

json_delete(cache_name, key, path, opts)

View Source
Link to this function

json_get(cache_name, key, path, opts)

View Source
Link to this function

json_incr(cache_name, key, path, incr \\ 1, opts)

View Source
Link to this function

json_set(cache_name, key, path, value, opts)

View Source
Link to this function

pipeline(cache_name, commands, opts)

View Source
Link to this function

pipeline!(cache_name, commands, opts)

View Source
Link to this function

scan(cache_name, scan_opts, opts)

View Source