BaseGenericObjectPool.setMaxTotal

Sets the cap on the number of objects that can be allocated by the pool (checked out to clients, or idle awaiting checkout) at a given time. Use a negative value for no limit.

@param maxTotal The cap on the total number of object instances managed by the pool. Negative values mean that there is no limit to the number of objects allocated by the pool.

@see #getMaxTotal

class BaseGenericObjectPool
void
setMaxTotal
()

Meta