#include <module_cache.h>
|
static const size_t | MinUsageCntr = 2 |
| how many times loading of the module must be requested before the module is added to cache
|
|
Definition at line 52 of file module_cache.h.
◆ ModulesCache()
pesieve::ModulesCache::ModulesCache |
( |
| ) |
|
|
inline |
◆ ~ModulesCache()
pesieve::ModulesCache::~ModulesCache |
( |
| ) |
|
|
inline |
◆ _deleteLeastRecent()
bool pesieve::ModulesCache::_deleteLeastRecent |
( |
| ) |
|
|
inlineprotected |
◆ deleteCache()
void pesieve::ModulesCache::deleteCache |
( |
| ) |
|
|
inlineprotected |
◆ getMappedCached()
BYTE * pesieve::ModulesCache::getMappedCached |
( |
const std::string & | modName, |
|
|
size_t & | mappedSize ) |
|
inlineprotected |
◆ isCacheAvailable()
bool pesieve::ModulesCache::isCacheAvailable |
( |
const size_t | neededSize | ) |
|
|
protected |
◆ loadCached()
BYTE * pesieve::ModulesCache::loadCached |
( |
LPSTR | szModName, |
|
|
size_t & | original_size ) |
◆ prepareCacheSpace()
bool pesieve::ModulesCache::prepareCacheSpace |
( |
const size_t | neededSize, |
|
|
bool | force_free ) |
|
inlineprotected |
◆ cachedModules
std::map<std::string, CachedModule*> pesieve::ModulesCache::cachedModules |
|
protected |
◆ cacheMutex
◆ MinUsageCntr
const size_t pesieve::ModulesCache::MinUsageCntr = 2 |
|
static |
how many times loading of the module must be requested before the module is added to cache
Definition at line 56 of file module_cache.h.
◆ usageBeforeCounter
std::map<std::string, size_t> pesieve::ModulesCache::usageBeforeCounter |
|
protected |
how many times loading of the same module was requested before it was cached
Definition at line 161 of file module_cache.h.
The documentation for this class was generated from the following files: