spring-framework / org.springframework.aop.target / CommonsPool2TargetSource / setMinEvictableIdleTimeMillis

setMinEvictableIdleTimeMillis

open fun setMinEvictableIdleTimeMillis(minEvictableIdleTimeMillis: Long): Unit

Set the minimum time that an idle object can sit in the pool before it becomes subject to eviction. Default is 1800000 (30 minutes).

Note that eviction runs need to be performed to take this setting into effect.

See Also
#setTimeBetweenEvictionRunsMillisGenericObjectPool#setMinEvictableIdleTimeMillis