vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Class RedisClient

A redis client with connection pooling.

class RedisClient ;

Constructors

NameDescription
this (host, port)

Properties

NameTypeDescription
redisVersion[get] stringReturns Redis version

Methods

NameDescription
auth (password) Authenticate to the server
configResetStat () Reset the stats returned by INFO
createSubscriber () Creates a RedisSubscriber instance for launching a pubsub listener
deleteAll () Deletes all keys from all databases.
echo (data) Echo the given string
getConfig (parameter) Get the value of a configuration parameter
getDatabase (index) Returns a handle to the given database.
info () Get information and statistics about the server
lastSave () Get the UNIX time stamp of the last successful save to disk
ping () Ping the server
quit () Close the connection
save () Synchronously save the dataset to disk
setConfig (parameter, value) Set a configuration parameter to the given value
shutdown () Synchronously save the dataset to disk and then shut down the server
slaveOf (host, port) Make the server a slave of another instance, or promote it as master
Authors

Jan Krüger, Sönke Ludwig, Michael Eisendle, Etienne Cimon

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.