IAggregatePool.minimize

Minimizes the number of items in the pool, removing idle items in excess of the specified number. Only idle items will be removed, busy items are not affected. The reset() method (if existing) of any removed items is called before they are deleted.

class IAggregatePool(T)
typeof(this)
minimize
(
size_t num = 0
)

Parameters

num size_t

maximum number of items desired in pool

Return Value

Type: typeof(this)

this

Meta