Cached Type. More...
#include <mutex>
#include <iostream>
#include "inc/util/memory_size.h"
#include "inc/util/boost_versioning.h"
#include "inc/util/persistent.h"
Classes | |
class | syten::Cached< Type > |
Caching/cached type. More... | |
struct | syten::requires_inmemory_rump_during_cache< T > |
Specialise this class template for any types which require special treatment during caching. More... | |
Namespaces | |
namespace | syten |
Syten namespace. | |
namespace | syten::Caching |
Only contains the Caching::threshold variable. | |
Functions | |
template<typename Type > | |
std::ostream & | syten::operator<< (std::ostream &out, Cached< Type > const &c) |
Easy output for Cached<>'s. More... | |
Variables | |
bool | syten::Caching::do_cache {false} |
Runtime variable which is true if caching should generally be used. More... | |
std::size_t | syten::Caching::threshold {1024 * 1024} |
Runtime variable holding the size in bytes below which objects will not be cached on disk. More... | |
Cached Type.