#include <Cache.h>
|
| SimpleCache () |
|
virtual | ~SimpleCache ()=default |
|
virtual bool | inCache (const std::string &docName) noexcept(false) override |
|
virtual std::string | getDoc (const std::string &docName) noexcept(false) override |
|
virtual void | putDoc (const std::string &docName, const std::string &content) noexcept(false) override |
|
bool | evict (const std::string &docName) |
| evicts a document from the cache More...
|
|
◆ SimpleCache()
bridges::SimpleCache::SimpleCache |
( |
| ) |
|
|
inline |
◆ ~SimpleCache()
virtual bridges::SimpleCache::~SimpleCache |
( |
| ) |
|
|
virtualdefault |
◆ evict()
bool bridges::SimpleCache::evict |
( |
const std::string & |
docName | ) |
|
|
inline |
evicts a document from the cache
- Parameters
-
- Returns
- true on success
◆ getDoc()
virtual std::string bridges::SimpleCache::getDoc |
( |
const std::string & |
docName | ) |
|
|
inlineoverridevirtualnoexcept |
◆ inCache()
virtual bool bridges::SimpleCache::inCache |
( |
const std::string & |
docName | ) |
|
|
inlineoverridevirtualnoexcept |
◆ putDoc()
virtual void bridges::SimpleCache::putDoc |
( |
const std::string & |
docName, |
|
|
const std::string & |
content |
|
) |
| |
|
inlineoverridevirtualnoexcept |
The documentation for this class was generated from the following file:
- /home/erik/work/bridges/bridges-cxx/src/Cache.h