|
virtual std::string | load (std::string key)=0 |
| Load a value from Redis. More...
|
|
virtual AOSSL::StringBuffer * | load_safe (std::string key)=0 |
| Load a value from Redis.
|
|
virtual bool | save (std::string key, std::string msg)=0 |
| Save a value to Redis.
|
|
virtual bool | setnx (std::string key, std::string msg)=0 |
| Set a value in Redis, only if the key does not exist.
|
|
virtual bool | exists (std::string key)=0 |
| Does a key exist in Redis?
|
|
virtual bool | del (std::string key)=0 |
| Delete a value from Redis.
|
|
virtual bool | expire (std::string key, unsigned int second)=0 |
| Expire a value in Redis after a specified number of seconds.
|
|
virtual bool | persist (std::string key)=0 |
| Prevent a value from being expired in Redis.
|
|
virtual bool | setex (std::string key, std::string val, unsigned int second)=0 |
| Set and add an expiration to an object in a single operation.
|
|
virtual int | append (std::string key, std::string val)=0 |
| Append a value to a Redis value on the given key.
|
|
virtual int | len (std::string key)=0 |
| Return the length of the string value stored at key.
|
|
virtual int | incr (std::string key)=0 |
| Increment a Counter value in Redis.
|
|
virtual int | incr (std::string key, int incr_amt)=0 |
| Increment a Counter value in Redis.
|
|
virtual int | decr (std::string key)=0 |
| Decriment a Counter value in Redis.
|
|
virtual int | decr (std::string key, int decr_amt)=0 |
| Decriment a Counter value in Redis.
|
|
virtual int | lpush (std::string key, std::string val)=0 |
| Push a value to a Redis list on the given key.
|
|
virtual int | rpush (std::string key, std::string val)=0 |
| Push a value to a Redis list on the given key.
|
|
virtual std::string | lpop (std::string key)=0 |
| Pop a value from a Redis list on the given key. More...
|
|
virtual AOSSL::StringBuffer * | lpop_safe (std::string key)=0 |
| Pop a value from a Redis list on the given key.
|
|
virtual std::string | rpop (std::string key)=0 |
| Pop a value from a Redis list on the given key. More...
|
|
virtual AOSSL::StringBuffer * | rpop_safe (std::string key)=0 |
| Pop a value from a Redis list on the given key.
|
|
virtual bool | lset (std::string key, std::string val, int index)=0 |
| Set the value stored in the list at key and the index at index.
|
|
virtual int | linsert (std::string key, std::string val, std::string pivot, bool before_pivot)=0 |
| Insert a value into the list at key and before/after the pivot value.
|
|
virtual std::string | lindex (std::string key, int index)=0 |
| Get the value stored in the list at key and the index at index. More...
|
|
virtual AOSSL::StringBuffer * | lindex_safe (std::string key, int index)=0 |
| Get the value stored in the list at key and the index at index.
|
|
virtual int | llen (std::string key)=0 |
| Get the length of a list stored in Redis.
|
|
virtual bool | ltrim (std::string key, int start_index, int end_index)=0 |
| Trim a list to the specified start and end index.
|
|
virtual std::vector< std::string > | mget (std::vector< std::string > keys)=0 |
| Get a set of string replies.
|
|
virtual bool | mset (std::vector< RedisKvPair > save_sets)=0 |
| Set a set of string objects.
|
|
virtual bool | msetnx (std::vector< RedisKvPair > save_sets)=0 |
| Set a set of string objects, as long as none of the keys exist.
|
|
The Redis Admin.
The Redis Admin is responsible for all interactions with the Redis Key-Value Store