A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCSQLITE3__Cache.html below:

NCBI C++ ToolKit: CSQLITE3_Cache Class Reference

  CSQLITE3_Cache ()   virtual  ~CSQLITE3_Cache ()   void  Open (const string &database, bool remove=false)   Open cache. More...
  bool  Vacuum ()   Vacuum the database (should be open first) More...
  unsigned  GetMemBufferSize () const   void  StoreSynchronous (const string &key, int version, const string &subkey, const void *data, size_t size)   const stringGetDatabase () const   Get DB name/path. More...
  void  SetMemBufferSize (unsigned int buf_size)   Set size of the intermidiate BLOB memory buffer. More...
  virtual void  SetTimeStampPolicy (TTimeStampFlags policy, unsigned int timeout, unsigned int max_timeout=0)   Set timestamp update policy. More...
  virtual TTimeStampFlags  GetTimeStampPolicy () const   Get timestamp policy. More...
  virtual int  GetTimeout () const   Get expiration timeout. More...
  virtual bool  IsOpen () const   virtual void  SetVersionRetention (EKeepVersions policy)   Set version retention policy. More...
  virtual EKeepVersions  GetVersionRetention () const   Get version retention. More...
  virtual void  Store (const string &key, int version, const string &subkey, const void *data, size_t size, unsigned int time_to_live=0, const string &owner=kEmptyStr)   Add or replace BLOB. More...
  virtual size_t  GetSize (const string &key, int version, const string &subkey)   Check if BLOB exists, return BLOB size. More...
  virtual void  GetBlobOwner (const string &key, int version, const string &subkey, string *owner)   Retrieve BLOB owner. More...
  virtual bool  Read (const string &key, int version, const string &subkey, void *buf, size_t buf_size)   Fetch the BLOB. More...
  virtual IReaderGetReadStream (const string &key, int version, const string &subkey)   Return sequential stream interface to read BLOB data. More...
  virtual IReaderGetReadStream (const string &key, const string &subkey, int *version, EBlobVersionValidity *validity)   Request the latest version of a BLOB. More...
  virtual void  SetBlobVersionAsValid (const string &key, const string &subkey, int version)   virtual void  GetBlobAccess (const string &key, int version, const string &subkey, SBlobAccessDescr *blob_descr)   Get BLOB access using BlobAccessDescr. More...
  virtual IWriterGetWriteStream (const string &key, int version, const string &subkey, unsigned int time_to_live=0, const string &owner=kEmptyStr)   Specifics of this IWriter implementation is that IWriter::Flush here cannot be called twice, because it finalises transaction Also you cannot call Write after Flush... More...
  virtual void  Remove (const string &key)   virtual void  Remove (const string &key, int version, const string &subkey)   Remove specific cache entry. More...
  virtual time_t  GetAccessTime (const string &key, int version, const string &subkey)   Return last access time for the specified cache entry. More...
  virtual bool  HasBlobs (const string &key, const string &subkey)   Check if any BLOB exists (any version) More...
  virtual void  Purge (time_t access_timeout)   Delete all BLOBs older than specified. More...
  virtual void  Purge (const string &key, const string &subkey, time_t access_timeout)   Delete BLOBs with access time older than specified. More...
  virtual bool  SameCacheParams (const TCacheParams *params) const   virtual string  GetCacheName (void) const   virtual TFlags  GetFlags ()   Retrieve the effective combination of flags from the underlying storage. More...
  virtual void  SetFlags (TFlags flags)   Pass flags to the underlying storage. More...
  virtual void  SetBlobVersionAsCurrent (const string &key, const string &subkey, TBlobVersion version)=0   Set current valid version for a BLOB. More...
  virtual  ~ICache ()  

SQLITE3 cache implementation.

Class implements ICache (BLOB cache) interface using SQLITE3 (RDBMS) This implementation stores BLOBs in the RDBMS and intended to play role of an enterprise wide BLOB storage

Definition at line 100 of file sqlite_cache.hpp.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4