Bridges-C++  3.4.4
Bridges(C++ API)
Public Member Functions | List of all members
bridges::lruCache Class Reference

#include <Cache.h>

Inheritance diagram for bridges::lruCache:
bridges::Cache

Public Member Functions

 lruCache (int maxFileNumber=30)
 
virtual ~lruCache ()=default
 
virtual std::string getDoc (const std::string &hash_value) override
 
virtual bool inCache (const std::string &hash_value) override
 
virtual void putDoc (const std::string &hash_value, const std::string &content) override
 

Constructor & Destructor Documentation

◆ lruCache()

bridges::lruCache::lruCache ( int  maxFileNumber = 30)
inline

◆ ~lruCache()

virtual bridges::lruCache::~lruCache ( )
virtualdefault

Member Function Documentation

◆ getDoc()

virtual std::string bridges::lruCache::getDoc ( const std::string &  hash_value)
inlineoverridevirtual

Implements bridges::Cache.

◆ inCache()

virtual bool bridges::lruCache::inCache ( const std::string &  hash_value)
inlineoverridevirtual

Implements bridges::Cache.

◆ putDoc()

virtual void bridges::lruCache::putDoc ( const std::string &  hash_value,
const std::string &  content 
)
inlineoverridevirtual

Implements bridges::Cache.


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