c10d::Store for rendez-vous backed by Redis.
More...
#include <redisstore.h>
Inherits c10d::Store.
|
| RedisStore (std::string prefix, std::string_view host, int port) |
|
virtual | ~RedisStore () |
|
void | set (std::string const &key, std::vector< uint8_t > const &value) override |
|
std::vector< uint8_t > | get (std::string const &key) override |
|
int64_t | add (std::string const &key, int64_t value) override |
|
bool | check (std::vector< std::string > const &keys) override |
|
void | wait (std::vector< std::string > const &keys) override |
|
void | wait (std::vector< std::string > const &keys, std::chrono::milliseconds const &timeout) override |
|
virtual | ~Store ()=default |
|
void | setTimeout (const std::chrono::seconds &) |
|
cpid::RedisStore::RedisStore |
( |
std::string |
prefix, |
|
|
std::string_view |
host, |
|
|
int |
port |
|
) |
| |
cpid::RedisStore::~RedisStore |
( |
| ) |
|
|
virtual |
int64_t cpid::RedisStore::add |
( |
std::string const & |
key, |
|
|
int64_t |
value |
|
) |
| |
|
overridevirtual |
bool cpid::RedisStore::check |
( |
std::vector< std::string > const & |
keys | ) |
|
|
overridevirtual |
std::vector< uint8_t > cpid::RedisStore::get |
( |
std::string const & |
key | ) |
|
|
overridevirtual |
void cpid::RedisStore::set |
( |
std::string const & |
key, |
|
|
std::vector< uint8_t > const & |
value |
|
) |
| |
|
overridevirtual |
void cpid::RedisStore::wait |
( |
std::vector< std::string > const & |
keys | ) |
|
|
overridevirtual |
void cpid::RedisStore::wait |
( |
std::vector< std::string > const & |
keys, |
|
|
std::chrono::milliseconds const & |
timeout |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following files: