libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
cache.hpp File Reference
#include "thread_pool_sequential.hpp"
#include "thread_pool_master.hpp"
#include "thread_pool_workers.hpp"
#include <limits>
#include <map>
#include <time.h>
#include "cache_impl.hpp"
Include dependency graph for cache.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::private_::multi_or_sequential< Mdl >
 
struct  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::private_::multi_or_sequential< ppd::sequential_mode >
 
struct  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::threading< Key, Val, Comp, Alloc >
 Adaptors for the single & multi-threading traits. More...
 
struct  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::threading< Key, Val, Comp, Alloc >::single< API >
 The sequential trait. More...
 
struct  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::threading< Key, Val, Comp, Alloc >::multi< API, Mdl >
 The multi-threaded trait. More...
 
struct  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::factory_base< Key, Data >
 A simple factory class that allows us to tell the cache how a value is made for a particular key. More...
 
class  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::lru< Val >
 An implementation of an Least Recently Used (LRU) algorithm for selecting victim entries in the cache for flushing. More...
 
class  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::lru< Val >::criterion_t
 
struct  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::no_statistics
 A trivial "no statistics" class. More...
 
class  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::basic_statistics
 Some basic statistic gathering. More...
 
class  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::base< Factory >
 A base cache class, for deriving from to provide the real functionality. More...
 
struct  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::base< Factory >::range_data
 
class  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::base< Factory >::find_range_data
 This class creates the data for a particular key, using the supplied factory. More...
 
class  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::base< Factory >::flush_cache
 This class flushes the internal associative collection of the cache according to the flush policy. More...
 
class  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::ro< Factory, FP, ThrT, Stats >
 A read-only cache that returns a const reference to the range data. More...
 

Namespaces

namespace  jmmcg
 Link with -lrt to include these functions.
 
namespace  jmmcg::LIBJMMCG_VER_NAMESPACE
 
namespace  jmmcg::LIBJMMCG_VER_NAMESPACE::cache
 
namespace  jmmcg::LIBJMMCG_VER_NAMESPACE::cache::private_
 

Functions

template<class F_ , class P_ , class TT_ , class S_ >
tostream &__fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::cache::operator<< (tostream &os, const ro< F_, P_, TT_, S_ > &r)
 

Detailed Description

This file declares the various object that comprise the cache namespace.

Definition in file cache.hpp.