vibe.d beta banner
get vibe.d
0.8.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

Properties

NameTypeDescription
redisVersion[get]stringReturns Redis version

Methods

NameDescription
authAuthenticate to the server
configResetStatReset the stats returned by INFO
createSubscriberCreates a RedisSubscriber instance for launching a pubsub listener
deleteAllDeletes all keys from all databases.
flushDBScheduled for deprecation, use RedisDatabase.deleteAll instead.
getDatabaseReturns a handle to the given database.
infoGet information and statistics about the server
lastSaveGet the UNIX time stamp of the last successful save to disk
pingPing the server
quitClose the connection
saveSynchronously save the dataset to disk
shutdownSynchronously save the dataset to disk and then shut down the server
slaveOfMake the server a slave of another instance, or promote it as master

Aliases

NameDescription
flushAllScheduled for deprecation, use deleteAll instead.

Templates

NameDescription
echoEcho the given string
getConfigGet the value of a configuration parameter
setConfigSet a configuration parameter to the given value
Authors

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

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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