auths with the server.
auths with the server.
returns the size of the db.
returns the size of the db.
deletes the specified keys.
deletes the specified keys.
test if the specified key exists.
test if the specified key exists.
sets the expire time (in sec.) for the specified key.
sets the expire time (in sec.) for the specified key.
sets the expire time for the specified key.
sets the expire time for the specified key.
removes data from all the DB's.
removes data from all the DB's.
removes all the DB data.
removes all the DB data.
CONFIG GET
CONFIG GET
returns the type of the value stored at key in form of a string.
returns the type of the value stored at key in form of a string.
returns all the keys matching the glob-style pattern.
returns all the keys matching the glob-style pattern.
Move the specified key from the currently selected DB to the specified destination DB.
Move the specified key from the currently selected DB to the specified destination DB.
Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).
Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).
sets the expire time (in milli sec.) for the specified key.
sets the expire time (in milli sec.) for the specified key.
sets the expire timestamp in millis for the specified key.
sets the expire timestamp in millis for the specified key.
ping
ping
returns the remaining time to live of a key that has a timeout in millis
returns the remaining time to live of a key that has a timeout in millis
exits the server.
exits the server.
returns a randomly selected key from the currently selected DB.
returns a randomly selected key from the currently selected DB.
atomically renames the key oldkey to newkey.
atomically renames the key oldkey to newkey.
rename oldkey into newkey but fails if the destination key newkey already exists.
rename oldkey into newkey but fails if the destination key newkey already exists.
Incrementally iterate the keys space (since 2.8)
Incrementally iterate the keys space (since 2.8)
selects the DB to connect, defaults to 0 (zero).
selects the DB to connect, defaults to 0 (zero).
CONFIG SET
CONFIG SET
sort keys in a set, and optionally pull values for them
sort keys in a set, and optionally pull values for them
sort keys in a set, and stores result in the supplied key
sort keys in a set, and stores result in the supplied key
returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.
returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.
returns the remaining time to live of a key that has a timeout
returns the remaining time to live of a key that has a timeout
Flushes all the previously watched keys for a transaction
Flushes all the previously watched keys for a transaction
returns the total number of keys existing.
returns the total number of keys existing. (since 3.0.3)
Marks the given keys to be watched for conditional execution of a transaction.
Marks the given keys to be watched for conditional execution of a transaction.
(Since version ) see corresponding Javadoc for more information.
(Since version 2.8) use randomkey