#include <ut0pool.h>
◆ Pools
template<typename
Pool , typename LockStrategy >
◆ PoolType
template<typename
Pool , typename LockStrategy >
◆ value_type
template<typename
Pool , typename LockStrategy >
◆ PoolManager() [1/2]
template<typename
Pool , typename LockStrategy >
◆ ~PoolManager()
template<typename
Pool , typename LockStrategy >
◆ PoolManager() [2/2]
template<typename
Pool , typename LockStrategy >
◆ add_pool()
template<typename
Pool , typename LockStrategy >
Add a new pool.
- Parameters
-
n_pools | Number of pools that existed when the add pool was called. |
- Returns
- true on success
◆ create()
template<typename
Pool , typename LockStrategy >
◆ destroy()
template<typename
Pool , typename LockStrategy >
◆ get()
template<typename
Pool , typename LockStrategy >
Get an element from one of the pools.
- Returns
- instance or NULL if pool is empty.
◆ mem_free()
template<typename
Pool , typename LockStrategy >
◆ operator=()
template<typename
Pool , typename LockStrategy >
◆ m_lock_strategy
template<typename
Pool , typename LockStrategy >
◆ m_pools
template<typename
Pool , typename LockStrategy >
Pools managed this manager.
◆ m_size
template<typename
Pool , typename LockStrategy >
The documentation for this struct was generated from the following file: