View Source Cache.Redis (elixir_cache v0.3.3)

This module interacts with redis using a pool of connections

options

Options

  • :uri (String.t/0) - Required. The connection uri to redis

  • :size (pos_integer/0) - The amount of workers in the pool

  • :max_overflow (pos_integer/0) - The amount of max overflow the pool can handle

  • :strategy - The type of queue to use for poolboy

Link to this section Summary

Functions

See Cache.Redis.Global.command/3.

See Cache.Redis.Global.command!/3.

See Cache.Redis.Hash.hash_delete/4.

See Cache.Redis.Hash.hash_get/4.

See Cache.Redis.Hash.hash_get_all/3.

See Cache.Redis.Hash.hash_get_many/3.

See Cache.Redis.Hash.hash_scan/4.

See Cache.Redis.Hash.hash_values/3.

See Cache.Redis.JSON.clear/4.

See Cache.Redis.JSON.delete/4.

See Cache.Redis.JSON.get/4.

See Cache.Redis.Global.pipeline/3.

See Cache.Redis.Global.pipeline!/3.

See Cache.Redis.Global.scan/3.

Link to this section Functions

Link to this function

command(pool_name, command, opts \\ [])

View Source

See Cache.Redis.Global.command/3.

Link to this function

command!(pool_name, command, opts \\ [])

View Source

See Cache.Redis.Global.command!/3.

Link to this function

hash_delete(pool_name, key, field, opts \\ [])

View Source

See Cache.Redis.Hash.hash_delete/4.

Link to this function

hash_get(pool_name, key, field, opts \\ [])

View Source

See Cache.Redis.Hash.hash_get/4.

Link to this function

hash_get_all(pool_name, key, opts \\ [])

View Source

See Cache.Redis.Hash.hash_get_all/3.

Link to this function

hash_get_many(pool_name, key_fields, opts \\ [])

View Source

See Cache.Redis.Hash.hash_get_many/3.

Link to this function

hash_scan(pool_name, key, scan_opts, opts \\ [])

View Source

See Cache.Redis.Hash.hash_scan/4.

Link to this function

hash_set(pool_name, key, field, value, ttl, opts \\ [])

View Source

See Cache.Redis.Hash.hash_set/6.

Link to this function

hash_set_many(pool_name, keys_fields_values, ttl, opts \\ [])

View Source

See Cache.Redis.Hash.hash_set_many/4.

Link to this function

hash_values(pool_name, key, opts \\ [])

View Source

See Cache.Redis.Hash.hash_values/3.

Link to this function

json_array_append(pool_name, key, path, value_or_values, opts \\ [])

View Source

See Cache.Redis.JSON.array_append/5.

Link to this function

json_clear(pool_name, key, path, opts \\ [])

View Source

See Cache.Redis.JSON.clear/4.

Link to this function

json_delete(pool_name, key, path, opts \\ [])

View Source

See Cache.Redis.JSON.delete/4.

Link to this function

json_get(pool_name, key, path, opts \\ [])

View Source

See Cache.Redis.JSON.get/4.

Link to this function

json_incr(pool_name, key, path, value \\ 1, opts \\ [])

View Source

See Cache.Redis.JSON.incr/5.

Link to this function

json_set(pool_name, key, path, value, opts \\ [])

View Source

See Cache.Redis.JSON.set/5.

Link to this function

pipeline(pool_name, command, opts \\ [])

View Source

See Cache.Redis.Global.pipeline/3.

Link to this function

pipeline!(pool_name, command, opts \\ [])

View Source

See Cache.Redis.Global.pipeline!/3.

Link to this function

pool_config(pool_name, opts)

View Source
Link to this function

scan(pool_name, scan_opts, opts \\ [])

View Source

See Cache.Redis.Global.scan/3.