#include <CachedFactory.h>
Inheritance diagram for Loki::EvictLRU< DT, ST >:
Protected Member Functions | |
virtual | ~EvictLRU () |
void | onCreate (const DT &key) |
void | onFetch (const DT &) |
void | onRelease (const DT &key) |
void | onDestroy (const DT &key) |
void | evict () |
const char * | name () |
Implementation of the Least recent used algorithm as described in http://en.wikipedia.org/wiki/Page_replacement_algorithms .
WARNING : If an object is heavily fetched (more than ULONG_MAX = UINT_MAX = 4294967295U) it could unfortunately be removed from the cache.
Definition at line 351 of file CachedFactory.h.