Removes keys
Removes keys
Number of keys removed
Checks if given key exists
Checks if given key exists
true if key exists, false otherwise
Sets how long it will take the key to expire
Sets how long it will take the key to expire
boolean, true if it successfully set the ttl (time to live) on a valid key, false otherwise.
Same effect and semantic as "expire", but takes an absolute Unix timestamp
Same effect and semantic as "expire", but takes an absolute Unix timestamp
boolean, true if it successfully set the ttl (time to live) on a valid key, false otherwise.
Returns all keys matching pattern
Returns all keys matching pattern
list of keys matching pattern
Set a key's time to live in milliseconds.
Set a key's time to live in milliseconds.
true if the timeout was set. false if key does not exist or the timeout could not be set.
http://redis.io/commands/pexpire
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
true if the timeout was set. false if key does not exist or the timeout could not be set (see: EXPIRE).
http://redis.io/commands/pexpireat
Get the time to live for a key in milliseconds.
Get the time to live for a key in milliseconds.
Time to live in milliseconds or None when key does not exist or does not have a timeout.
Returns keys starting at cursor
Returns keys starting at cursor
cursor followed by matching keys
Gets the ttl of the given key.
Gets the ttl of the given key.
Option containing either the ttl in seconds if the key exists and has a timeout, or else nothing.