Hydra 0.20
|
#include <LoadCache.h>
Public Member Functions | |
LoadCache (size_t maxhold, const LOADER &loader=LOADER()) | |
desktop::cache_ptr< T, KEY > | getItem (const KEY &key) |
Protected Attributes | |
LOADER | dm_loader |
A LoadCache is a map that is able to manage a group of objects (T) keyed by a key KEY, with the given demand LOADER class.
This class will make sure all currently locked (via cache_ptr) objects are in memory, aswell as possible some extras (within the size maxhold as passed to the constructor