GenericKeyedObjectPool.setMinIdlePerKey

Sets the target for the minimum number of idle objects to maintain in each of the keyed sub-pools. 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 each sub-pool has the required minimum number of instances during idle object eviction runs. <p> If the configured value of minIdlePerKey is greater than the configured value for maxIdlePerKey then the value of maxIdlePerKey will be used instead.

@param minIdlePerKey The minimum size of the each keyed pool

@see #getMinIdlePerKey @see #getMaxIdlePerKey() @see #setTimeBetweenEvictionRunsMillis

class GenericKeyedObjectPool(K, T)
void
setMinIdlePerKey

Meta