redis_getConfig: Get Configuration Data from Redis Cache

Description Usage Arguments Value

View source: R/getConfig.R

Description

Get Configuration Data from Redis Cache

Usage

1
redis_getConfig(key, auto_load)

Arguments

key

character string, key to identify config data in Redis cache

auto_load

character string, file path of config file to be loaded automatically, if cached config is NULL.

Value

an object deparsed from JSON string that is stored in Redis cache with key key.

The return value has two attributes

id

the unique identifier of the config data

key

the Redis cache key

If key is not found, NULL is returned.


mlkornexl/easyRedis documentation built on May 17, 2019, 9:13 a.m.