NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nvbio::cache_overflow Struct Reference

Detailed description

LRU cache. The template parameter CacheManager should supply the following interface:

bool acquire(const uint32 item); try to acquire/load an element, returning false in case of failure: the latter will trigger a cache release cycle.

void release(const uint32 item); release an element, freeing any of the relative resources.

bool low_watermark() const return true when the cache usage is below the low-watermark

Definition at line 51 of file cache.h.

#include <cache.h>


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