Loki::EvictRandom< DT, ST > Class Template Reference
[Eviction policies]

Evicts a random object. More...

#include <CachedFactory.h>

List of all members.

Protected Member Functions

virtual ~EvictRandom ()
void onCreate (const DT &)
void onFetch (const DT &)
void onRelease (const DT &key)
void onDestroy (const DT &key)
void evict ()
const char * name ()

Detailed Description

template<typename DT, typename ST = void>
class Loki::EvictRandom< DT, ST >

Evicts a random object.

Implementation of the Random algorithm as described in http://en.wikipedia.org/wiki/Page_replacement_algorithms .

Definition at line 485 of file CachedFactory.h.

The documentation for this class was generated from the following file:
Generated on Sun Feb 25 16:52:34 2007 for Loki by  doxygen 1.5.1-p1