libmoost
moost::kvstore::KyotoTycoonClient Class Reference

#include <kyoto_tycoon_client.hpp>

Collaboration diagram for moost::kvstore::KyotoTycoonClient:

List of all members.

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_typem_conn

Detailed Description

Definition at line 59 of file kyoto_tycoon_client.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

template<typename TKey , typename TVal >
void moost::kvstore::KyotoTycoonClient::cache ( const TKey &  key,
const std::vector< TVal > &  val,
boost::int64_t  expirySecs 
) const [inline]

Definition at line 175 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:

template<typename TKey , typename TVal >
void moost::kvstore::KyotoTycoonClient::cache ( const TKey &  key,
const TVal &  val,
boost::int64_t  expirySecs 
) const [inline]

Definition at line 185 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:

template<typename TVal >
void moost::kvstore::KyotoTycoonClient::cache ( const std::string &  key,
const std::vector< TVal > &  val,
boost::int64_t  expirySecs 
) const [inline]

Definition at line 213 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:

template<typename TVal >
void moost::kvstore::KyotoTycoonClient::cache ( const std::string &  key,
const TVal &  val,
boost::int64_t  expirySecs 
) const [inline]

Definition at line 222 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:

template<typename TKey , typename TVal >
bool moost::kvstore::KyotoTycoonClient::get ( const TKey &  key,
std::vector< TVal > &  val 
) const [inline]

Definition at line 75 of file kyoto_tycoon_client.hpp.

template<typename TKey , typename TVal >
bool moost::kvstore::KyotoTycoonClient::get ( const TKey &  key,
TVal &  val 
) const [inline]

Definition at line 82 of file kyoto_tycoon_client.hpp.

template<typename TVal >
bool moost::kvstore::KyotoTycoonClient::get ( const std::string &  key,
TVal &  val 
) const [inline]

Definition at line 89 of file kyoto_tycoon_client.hpp.

template<typename TVal >
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.

template<typename TVal >
bool moost::kvstore::KyotoTycoonClient::get ( const void *  pkey,
size_t  ksize,
std::vector< TVal > &  val 
) const [inline, private]

Definition at line 105 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:

template<typename TVal >
bool moost::kvstore::KyotoTycoonClient::get ( const void *  pkey,
size_t  ksize,
TVal &  val 
) const [inline, private]

Definition at line 129 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:

template<typename TKey , typename TVal >
void moost::kvstore::KyotoTycoonClient::set ( const TKey &  key,
const std::vector< TVal > &  val 
) const [inline]

Definition at line 155 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:

template<typename TKey , typename TVal >
void moost::kvstore::KyotoTycoonClient::set ( const TKey &  key,
const TVal &  val 
) const [inline]

Definition at line 165 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:

template<typename TVal >
void moost::kvstore::KyotoTycoonClient::set ( const std::string &  key,
const std::vector< TVal > &  val 
) const [inline]

Definition at line 195 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:

template<typename TVal >
void moost::kvstore::KyotoTycoonClient::set ( const std::string &  key,
const TVal &  val 
) const [inline]

Definition at line 204 of file kyoto_tycoon_client.hpp.

Here is the call graph for this function:


Member Data Documentation


The documentation for this class was generated from the following file: