GenericObjectPool.setMinIdle

Sets the target for the minimum number of idle objects to maintain in the pool. This setting only has an effect if it is positive and {@link #getTimeBetweenEvictionRunsMillis()} is greater than zero. If this is the case, an attempt is made to ensure that the pool has the required minimum number of instances during idle object eviction runs. <p> If the configured value of minIdle is greater than the configured value for maxIdle then the value of maxIdle will be used instead. </p>

@param minIdle The minimum number of objects.

@see #getMinIdle() @see #getMaxIdle() @see #getTimeBetweenEvictionRunsMillis()

class GenericObjectPool(T)
void
setMinIdle
()

Meta