BDB library BLOB Cache
[BDB]

Collaboration diagram for BDB library BLOB Cache:


Classes

struct  SCache_AttrDB
 BLOB attributes DB. More...
struct  SCache_IdIDX
 BLOB ID -> key, value, subkey index. More...
struct  SBDB_TimeAccessStatistics
 BDB cache access statistics. More...
struct  SBDB_CacheUnitStatistics
 BDB cache statistics (covers one elemntary unit of measurements). More...
class  SBDB_CacheStatistics
 BDB cache statistics. More...
class  CBDB_Cache
 BDB cache implementation. More...
class  CBDB_CacheHolder
 Class container for BDB cache objects. More...

Functions

void BDB_Register_Cache (void)
 Register NCBI_BDB_ICacheEntryPoint.
void BDB_ConfigureCache (CBDB_Cache &bdb_cache, const string &path, const string &name, unsigned timeout, ICache::TTimeStampFlags tflags)
 Utility for simple cache configuration.
void NCBI_BDB_ICacheEntryPoint (CPluginManager< ICache >::TDriverInfoList &info_list, CPluginManager< ICache >::EEntryPointRequest method)
void NCBI_EntryPoint_xcache_bdb (CPluginManager< ICache >::TDriverInfoList &info_list, CPluginManager< ICache >::EEntryPointRequest method)

Variables

const char * kBDBCacheDriverName


Function Documentation

void BDB_ConfigureCache CBDB_Cache bdb_cache,
const string &  path,
const string &  name,
unsigned  timeout,
ICache::TTimeStampFlags  tflags
 

Utility for simple cache configuration.

Parameters:
bdb_cache Cache instance to configure
path Path to the cache database
name Cache database name
timeout Cache elements time to live value (in seconds) (when "0" 24hrs value is taken)
tflags Timestamp flags (see ICache) (when 0 some reasonable default combination is taken)

Definition at line 5348 of file bdb_blobcache.cpp.

References ICache::eKeepAll, CBDB_Cache::eNoLock, CBDB_Cache::eUseTrans, ICache::fCheckExpirationAlways, ICache::fExpireLeastFrequentlyUsed, ICache::fPurgeOnStartup, ICache::fTimeStampOnCreate, CBDB_Cache::Open(), CBDB_Cache::SetTimeStampPolicy(), and CBDB_Cache::SetVersionRetention().

void BDB_Register_Cache void   ) 
 

Register NCBI_BDB_ICacheEntryPoint.

Definition at line 5079 of file bdb_blobcache.cpp.

References NCBI_BDB_ICacheEntryPoint().

void NCBI_BDB_ICacheEntryPoint CPluginManager< ICache >::TDriverInfoList &  info_list,
CPluginManager< ICache >::EEntryPointRequest  method
 

Definition at line 5320 of file bdb_blobcache.cpp.

References CHostEntryPointImpl< TClassFactory >::NCBI_EntryPointImpl().

Referenced by BDB_Register_Cache(), and NCBI_EntryPoint_xcache_bdb().

void NCBI_EntryPoint_xcache_bdb CPluginManager< ICache >::TDriverInfoList &  info_list,
CPluginManager< ICache >::EEntryPointRequest  method
 

Definition at line 5328 of file bdb_blobcache.cpp.

References NCBI_BDB_ICacheEntryPoint().


Variable Documentation

const char* kBDBCacheDriverName
 

Definition at line 5085 of file bdb_blobcache.cpp.


Generated on Wed Dec 9 08:13:52 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:20:18 2009 by modify_doxy.py rev. 173732