getMaxActive() method

Max Active controls the maximum number of objects that can be allocated by the pool (checked out to clients, or idle awaiting checkout) at a given time.

Syntax

int getMaxActive ()

Returns

integer value

Usage

When non-positive, there is no limit to the number of objects that can be managed by the pool at one time. When maxActive is reached, the pool is said to be exhausted. The default setting for this parameter is 4

integer value