ILimitable

Management interface to a limitable pool.

Members

Functions

setLimit
size_t setLimit(size_t limit)

Sets the limit of number of items in pool or disables limitation for limit = unlimited. When limiting the pool, any excess idle items are reset and deleted.

Static variables

unlimited
size_t unlimited;

Magic limit value indicating no limitation

Inherited Members

From ILimitableInfo

limit
size_t limit()
is_limited
bool is_limited()

Meta