storr_redis_api: Redis object cache driver

View source: R/storr.R

storr_redis_apiR Documentation

Redis object cache driver

Description

Redis object cache driver

Usage

storr_redis_api(
  prefix,
  con,
  hash_algorithm = NULL,
  default_namespace = "objects"
)

driver_redis_api(prefix, con, hash_algorithm = NULL)

Arguments

prefix

Prefix for keys. We'll generate a number of keys that start with this string. Probably terminating the string with a punctuation character (e.g., ":") will make created strings nicer to deal with.

con

A redis_api connection object, as created by redux. Alternatively if passing in a redis_config object, a list, or NULL this will be passed through to hiredis to create a new connection.

hash_algorithm

Name of the hash algorithm to use. Possible values are "md5", "sha1", and others supported by digest. If not given, then we will default to "md5".

default_namespace

Default namespace (see storr).

Author(s)

Rich FitzJohn


redux documentation built on May 29, 2024, 6:15 a.m.