IAggregatePool.setLimit

Sets the limit of number of items in pool or disables limitation for limit = unlimited.

This method is overridden simply in order to verify that an iteration is not in progress.

class IAggregatePool(T)
override
size_t
setLimit
(
size_t limit
)

Parameters

limit size_t

new limit of number of items in pool; unlimited disables limitation

Return Value

Type: size_t

limit

Throws

LimitExceededException if the number of busy pool items exceeds the desired limit.

Meta