Delete an item in the cache. Will throw an error if the item named by key is locked.
Automatically handles api.cache.redisPrefix
Load in contents for redis (and api.cache) saved to a file Warning! Any existing keys in redis (under this Actionhero namespace) will be removed.
Write the current concents of redis (only the keys in Actionhero's namespace) to a file.
Returns all the keys in redis which are under this Actionhero namespace. Potentially very slow.
Check how many items are stored in a shared queue/list in redis.
Load an item from the cache. Will throw an error if the item named by key cannot be found.
Automatically handles api.cache.redisPrefix
Lock an item in redis (can be a list or a saved item) to this Actionhero process.
Returns all the locks in redis which are under this Actionhero namespace. Potentially slow.
Pop (get) an item to a shared queue/list in redis.
Automatically handles api.cache.redisPrefix
Push an item to a shared queue/list in redis.
Automatically handles api.cache.redisPrefix
Save an item in the cache. If an item is already in the cache with the same key, it will be overwritten. Throws an error if the object is already in the cache and is locked.
Automatically handles api.cache.redisPrefix
Returns the number of keys in redis which are under this Actionhero namespace. Potentially very slow.
Unlock an item in redis (can be a list or a saved item) which was previously locked by this Actionhero process.
Generated using TypeDoc
Removes all keys in redis which are under this Actionhero namespace. Potentially very slow.