LOCK_SUFFIX
LOCK_SUFFIX
Implementation of HashTable for a Redis server (using the Predis library).
See: https://github.com/nrk/predis
set(string $key, string $val, array $opts = array()) : boolean
Set the value of a key.
string | $key | The key. |
string | $val | The string to store. |
array | $opts | Additional options: - expire: (integer) Expiration time in seconds. DEFAULT: Doesn't expire. - replace: (boolean) Replace the value of key. If key doesn't exist, returns false. DEFAULT: false |
True on success, false on error.