|
inline |
Caches the contained object into the file.
References syten::Cached< Type >::data, syten::Caching::do_cache, std::string::empty(), syten::Cached< Type >::file, syten::Cached< Type >::mtex, syten::Caching::threshold, and syten::MemoryUsage::totalSize().
Referenced by syten::Cached< Type >::load(), syten::Cached< Type >::maybeCache(), and syten::Cached< Type >::save().