Asynchronously rewrites the append-only file.
Asynchronously rewrites the append-only file.
1.0.0
Asynchronously saves the dataset to disk.
Asynchronously saves the dataset to disk.
1.0.0
if the background save is already in progress
Get the current client name.
Get the current client name.
option containing the name if it has been set, None
otherwise
2.6.9
Kills the connection of a client.
Kills the connection of a client.
string containing ip and port separated by colon, i.e. "ip:port"
2.4.0
if the the client does not exist
Kills the connection of a client.
Kills the connection of a client.
ip address of the target client
port of the target client
2.4.0
if the the client does not exist
Gets the list of client connections.
Gets the list of client connections.
list of clients
2.4.0
Gets the list of client connections.
Gets the list of client connections.
raw string containing the list of clients as returned by Redis
2.4.0
Sets the current client name.
Sets the current client name. If the empty string is provided, the name will be unset.
name to associate the client to, if empty, unsets the client name
2.6.9
Gets the value of a configuration parameter.
Gets the value of a configuration parameter.
name or pattern of the configuration parameter to get
option containing the matched parameters, or None
if no parameters are matched
2.0.0
Resets the stats returned by INFO.
Resets the stats returned by INFO.
2.0.0
Sets a configuration parameter to the given value.
Sets a configuration parameter to the given value.
parameter's name
value to set parameter to
2.0.0
if the parameter could not be set
Return the number of keys in the selected database.
Return the number of keys in the selected database.
number of keys in the selected database
1.0.0
Removes all keys from all databases.
Removes all keys from all databases.
1.0.0
Removes all keys from the current database.
Removes all keys from the current database.
1.0.0
Gets information and statistics about the server.
Gets information and statistics about the server.
map of field -> value pairs
1.0.0
Gets information and statistics about the server.
Gets information and statistics about the server.
name of the section for which data should be retrieved
map of field -> value pairs that match the specified section, or an empty map if the section does not exist
2.6.0
Gets information and statistics about the server.
Gets information and statistics about the server.
name of the section for which data should be retrieved
raw string containing lines of field:value pairs that match the specified section, as returned by Redis, or an empty string if the section does not exist
2.6.0
Gets information and statistics about the server.
Gets information and statistics about the server.
raw string containing lines of field:value pairs as returned by Redis
1.0.0
Gets the UNIX timestamp of the last successful save to disk.
Gets the UNIX timestamp of the last successful save to disk.
UNIX timestamp
1.0.0
Synchronously saves the dataset to disk.
Synchronously saves the dataset to disk.
1.0.0
Returns the current server time.
Returns the current server time.
pair of longs containing (1) UNIX timestamp and (2) microseconds
2.6.0
This trait implements asynchronous server commands.