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.
new limit of number of items in pool; unlimited disables limitation
new limit
LimitExceededException if the number of busy pool items exceeds the desired limit.
See Implementation
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.