NCBI C++ ToolKit
Classes | Macros | Functions | Variables
neticache_client.cpp File Reference
#include <ncbi_pch.hpp>
#include "netcache_api_impl.hpp"
#include <connect/services/neticache_client.hpp>
#include <connect/services/error_codes.hpp>
#include <connect/services/netcache_api_expt.hpp>
#include <connect/services/srv_connections.hpp>
#include <connect/ncbi_conn_exception.hpp>
#include <util/cache/icache_cf.hpp>
#include <util/transmissionrw.hpp>
#include <corelib/ncbitime.hpp>
#include <corelib/request_ctx.hpp>
#include <corelib/plugin_manager_impl.hpp>
#include <corelib/ncbi_system.hpp>
#include <corelib/ncbi_safe_static.hpp>
#include <memory>
#include <sstream>
+ Include dependency graph for neticache_client.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SNetICacheClientImpl
 
class  SWeightedServiceTraversal
 
class  CSetValidWarningSuppressor
 
class  CNetICacheCF
 Class factory for NetCache implementation of ICache. More...
 

Macros

#define MAX_ICACHE_CACHE_NAME_LENGTH   64
 
#define MAX_ICACHE_KEY_LENGTH   256
 
#define MAX_ICACHE_SUBKEY_LENGTH   256
 
#define NCBI_USE_ERRCODE_X   ConnServ_NetCache
 

Functions

static string s_CheckKeySubkey (const string &key, const string &subkey, string *encoded_key)
 
static string s_KeySubkeyToBlobID (const string &key, const string &subkey)
 
static string s_KeyVersionSubkeyToBlobID (const string &key, int version, const string &subkey)
 
void NCBI_EntryPoint_xcache_netcache (CPluginManager< ICache >::TDriverInfoList &info_list, CPluginManager< ICache >::EEntryPointRequest method)
 
void Cache_RegisterDriver_NetCache (void)
 

Variables

const char *const kNetICacheDriverName = "netcache"
 
static const char s_NetICacheAPIName [] = "NetICacheClient"
 

Macro Definition Documentation

◆ MAX_ICACHE_CACHE_NAME_LENGTH

#define MAX_ICACHE_CACHE_NAME_LENGTH   64

Definition at line 56 of file neticache_client.cpp.

◆ MAX_ICACHE_KEY_LENGTH

#define MAX_ICACHE_KEY_LENGTH   256

Definition at line 57 of file neticache_client.cpp.

◆ MAX_ICACHE_SUBKEY_LENGTH

#define MAX_ICACHE_SUBKEY_LENGTH   256

Definition at line 58 of file neticache_client.cpp.

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   ConnServ_NetCache

Definition at line 60 of file neticache_client.cpp.

Function Documentation

◆ s_CheckKeySubkey()

static string s_CheckKeySubkey ( const string key,
const string subkey,
string encoded_key 
)
static

◆ s_KeySubkeyToBlobID()

static string s_KeySubkeyToBlobID ( const string key,
const string subkey 
)
static

◆ s_KeyVersionSubkeyToBlobID()

static string s_KeyVersionSubkeyToBlobID ( const string key,
int  version,
const string subkey 
)
static

Variable Documentation

◆ s_NetICacheAPIName

const char s_NetICacheAPIName[] = "NetICacheClient"
static

Definition at line 120 of file neticache_client.cpp.

Referenced by SNetICacheClientImpl::SNetICacheClientImpl().

Modified on Fri Sep 20 14:58:30 2024 by modify_doxy.py rev. 669887