Returns the maximum number of objects that can be allocated by the pool
(checked out to clients, or idle awaiting checkout) at a given time. When
negative, there is no limit to the number of objects that can be
managed by the pool at one time.
@return the cap on the total number of object instances managed by the
pool.
Returns the maximum number of objects that can be allocated by the pool (checked out to clients, or idle awaiting checkout) at a given time. When negative, there is no limit to the number of objects that can be managed by the pool at one time.
@return the cap on the total number of object instances managed by the pool.
@see #setMaxTotal