![]() |
MySQL 9.3.0
Source Code Documentation
|
#include <cache_manager.h>
Classes | |
class | CachedObject |
class | Callbacks |
Public Types | |
using | Object = Obj |
Public Member Functions | |
CacheManager (Callbacks *callbacks, uint32_t limit=20) | |
virtual | ~CacheManager () |
CachedObject | get_instance (bool wait) |
void | return_instance (CachedObject &object) |
void | change_cache_object_limit (uint32_t limit) |
Callbacks * | get_callbacks () const |
Private Member Functions | |
Object | pop (bool wait) |
Private Attributes | |
uint32_t | objects_limit_ {20} |
std::mutex | object_container_mutex_ |
std::list< Object > | objects_ |
Callbacks * | callbacks_ {nullptr} |
using collector::CacheManager< Obj >::Object = Obj |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
private |
|
private |
|
private |
|
private |