|
Lightweight 0.20260303.0
|
#include <Pool.hpp>
Public Attributes | |
| size_t | initialSize {} |
| Initial number of data mappers to pre-create and store in the pool, must be less than or equal to maxSize. | |
| size_t | maxSize {} |
| GrowthStrategy | growthStrategy { GrowthStrategy::BoundedWait } |
Structure to hold the configuration of the pool, including the initial size, maximum size and growth strategy. Structure is used as a template parameter for the Pool class to configure its behavior at compile time.
| size_t Lightweight::PoolConfig::initialSize {} |
| size_t Lightweight::PoolConfig::maxSize {} |
Maximum number of data mappers that can exist in the pool, must be greater than or equal to initialSize this is used for the Bounded* strategies to determine when to block or when to stop accepting returned data mappers, for the UnboundedGrow strategy this is ignored
| GrowthStrategy Lightweight::PoolConfig::growthStrategy { GrowthStrategy::BoundedWait } |