Definition at line 26 of file TreeTraversalCache.hpp.
◆ ObjectCacheHandler()
| shamrock.tree::ObjectCacheHandler::ObjectCacheHandler |
( |
u64 |
max_memsize, |
|
|
std::function< ObjectCache(u64)> && |
generator |
|
) |
| |
|
inline |
◆ build_cache()
| void shamrock.tree::ObjectCacheHandler::build_cache |
( |
u64 |
id | ) |
|
|
inline |
build a new entry in the cache and free enough entry to make space for it if necessary
- Parameters
-
Definition at line 150 of file TreeTraversalCache.hpp.
◆ get_cache()
Get a cache entry and build it if it is not already in the cache.
- Parameters
-
- Returns
- ObjectCache&
Definition at line 186 of file TreeTraversalCache.hpp.
◆ preload()
| void shamrock.tree::ObjectCacheHandler::preload |
( |
u64 |
id | ) |
|
|
inline |
◆ reset()
| void shamrock.tree::ObjectCacheHandler::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: