template<class type, int default_cache_secs = 5, class mutex = boost::logging::threading::mutex>
struct boost::logging::locker::tss_resource_with_cache< type, default_cache_secs, mutex >
Locks a resource, and uses TSS (Thread-specific storage). This holds the value, and each thread caches it. Once at a given period (like, every 5 seconds), when used, the latest object is copied.