libmoost
|
#include <kyoto_tycoon_client.hpp>
Public Types | |
typedef IKyotoTycoonConnection | connection_type |
Public Member Functions | |
KyotoTycoonClient (connection_type &conn) | |
template<typename TKey , typename TVal > | |
bool | get (const TKey &key, std::vector< TVal > &val) const |
template<typename TKey , typename TVal > | |
bool | get (const TKey &key, TVal &val) const |
template<typename TVal > | |
bool | get (const std::string &key, TVal &val) const |
template<typename TVal > | |
bool | get (const std::string &key, std::vector< TVal > &val) const |
template<typename TKey , typename TVal > | |
void | set (const TKey &key, const std::vector< TVal > &val) const |
template<typename TKey , typename TVal > | |
void | set (const TKey &key, const TVal &val) const |
template<typename TKey , typename TVal > | |
void | cache (const TKey &key, const std::vector< TVal > &val, boost::int64_t expirySecs) const |
template<typename TKey , typename TVal > | |
void | cache (const TKey &key, const TVal &val, boost::int64_t expirySecs) const |
template<typename TVal > | |
void | set (const std::string &key, const std::vector< TVal > &val) const |
template<typename TVal > | |
void | set (const std::string &key, const TVal &val) const |
template<typename TVal > | |
void | cache (const std::string &key, const std::vector< TVal > &val, boost::int64_t expirySecs) const |
template<typename TVal > | |
void | cache (const std::string &key, const TVal &val, boost::int64_t expirySecs) const |
Private Member Functions | |
template<typename TVal > | |
bool | get (const void *pkey, size_t ksize, std::vector< TVal > &val) const |
template<typename TVal > | |
bool | get (const void *pkey, size_t ksize, TVal &val) const |
Private Attributes | |
connection_type & | m_conn |
Definition at line 59 of file kyoto_tycoon_client.hpp.
Definition at line 62 of file kyoto_tycoon_client.hpp.
moost::kvstore::KyotoTycoonClient::KyotoTycoonClient | ( | connection_type & | conn | ) | [inline] |
Definition at line 68 of file kyoto_tycoon_client.hpp.
void moost::kvstore::KyotoTycoonClient::cache | ( | const TKey & | key, |
const std::vector< TVal > & | val, | ||
boost::int64_t | expirySecs | ||
) | const [inline] |
void moost::kvstore::KyotoTycoonClient::cache | ( | const TKey & | key, |
const TVal & | val, | ||
boost::int64_t | expirySecs | ||
) | const [inline] |
void moost::kvstore::KyotoTycoonClient::cache | ( | const std::string & | key, |
const std::vector< TVal > & | val, | ||
boost::int64_t | expirySecs | ||
) | const [inline] |
void moost::kvstore::KyotoTycoonClient::cache | ( | const std::string & | key, |
const TVal & | val, | ||
boost::int64_t | expirySecs | ||
) | const [inline] |
bool moost::kvstore::KyotoTycoonClient::get | ( | const TKey & | key, |
std::vector< TVal > & | val | ||
) | const [inline] |
Definition at line 75 of file kyoto_tycoon_client.hpp.
bool moost::kvstore::KyotoTycoonClient::get | ( | const TKey & | key, |
TVal & | val | ||
) | const [inline] |
Definition at line 82 of file kyoto_tycoon_client.hpp.
bool moost::kvstore::KyotoTycoonClient::get | ( | const std::string & | key, |
TVal & | val | ||
) | const [inline] |
Definition at line 89 of file kyoto_tycoon_client.hpp.
bool moost::kvstore::KyotoTycoonClient::get | ( | const std::string & | key, |
std::vector< TVal > & | val | ||
) | const [inline] |
Definition at line 96 of file kyoto_tycoon_client.hpp.
bool moost::kvstore::KyotoTycoonClient::get | ( | const void * | pkey, |
size_t | ksize, | ||
std::vector< TVal > & | val | ||
) | const [inline, private] |
bool moost::kvstore::KyotoTycoonClient::get | ( | const void * | pkey, |
size_t | ksize, | ||
TVal & | val | ||
) | const [inline, private] |
void moost::kvstore::KyotoTycoonClient::set | ( | const TKey & | key, |
const std::vector< TVal > & | val | ||
) | const [inline] |
void moost::kvstore::KyotoTycoonClient::set | ( | const TKey & | key, |
const TVal & | val | ||
) | const [inline] |
void moost::kvstore::KyotoTycoonClient::set | ( | const std::string & | key, |
const std::vector< TVal > & | val | ||
) | const [inline] |
void moost::kvstore::KyotoTycoonClient::set | ( | const std::string & | key, |
const TVal & | val | ||
) | const [inline] |
Definition at line 65 of file kyoto_tycoon_client.hpp.